From 77852b6e17ee4375b7d07e6e152b009493eb2d4a Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Thu, 24 Sep 2015 10:50:57 +0300 Subject: [PATCH] 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 --- scripts/validate-abi.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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" -- 2.20.1