From: Ferruh Yigit Date: Fri, 26 Aug 2016 15:06:40 +0000 (+0100) Subject: scripts: disable optimization for ABI validation X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=c8f0de9c9709e0a2debcadc3a61a2e5d1b7c19c5;p=dpdk.git scripts: disable optimization for ABI validation abi-dumper giving following warning: WARNING: incompatible build option detected: -O3 Although this patch won't fix warning, it is to ensure code compiled with optimization disabled. Signed-off-by: Ferruh Yigit --- diff --git a/scripts/validate-abi.sh b/scripts/validate-abi.sh index feda6c8653..52e4e7ae73 100755 --- a/scripts/validate-abi.sh +++ b/scripts/validate-abi.sh @@ -186,7 +186,7 @@ fixup_config # Checking abi compliance relies on using the dwarf information in # The shared objects. Thats only included in the DSO's if we build # with -g -export EXTRA_CFLAGS="$EXTRA_CFLAGS -g" +export EXTRA_CFLAGS="$EXTRA_CFLAGS -g -O0" export EXTRA_LDFLAGS="$EXTRA_LDFLAGS -g" # Now configure the build