From: Panu Matilainen Date: Thu, 24 Sep 2015 07:50:57 +0000 (+0300) Subject: scripts: permit passing extra flags to ABI validator X-Git-Tag: spdx-start~7914 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=77852b6e17ee4375b7d07e6e152b009493eb2d4a;p=dpdk.git scripts: permit passing extra flags to ABI validator Its sometimes necessary to disable warnings etc to get an older version of code to build. Signed-off-by: Panu Matilainen Acked-by: Neil Horman --- diff --git a/scripts/validate-abi.sh b/scripts/validate-abi.sh index 4476433ead..b9c9989453 100755 --- a/scripts/validate-abi.sh +++ b/scripts/validate-abi.sh @@ -164,8 +164,8 @@ sed -i -e"$ a\CONFIG_RTE_LIBRTE_KNI=n" config/defconfig_$TARGET # 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=-g -export EXTRA_LDFLAGS=-g +export EXTRA_CFLAGS="$EXTRA_CFLAGS -g" +export EXTRA_LDFLAGS="$EXTRA_LDFLAGS -g" # Now configure the build log "INFO" "Configuring DPDK $TAG1"