From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: [PATCH] scripts: disable optimization for ABI validation Date: Fri, 26 Aug 2016 16:06:40 +0100 Message-ID: <1472224000-2288-1-git-send-email-ferruh.yigit@intel.com> Cc: Neil Horman To: dev@dpdk.org Return-path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 4E7A75A97 for ; Fri, 26 Aug 2016 17:07:03 +0200 (CEST) List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 --- scripts/validate-abi.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/validate-abi.sh b/scripts/validate-abi.sh index feda6c8..52e4e7a 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 -- 2.7.4