From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id 9CFA48E65 for ; Thu, 24 Sep 2015 09:51:56 +0200 (CEST) Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (Postfix) with ESMTPS id 14455A3811 for ; Thu, 24 Sep 2015 07:51:56 +0000 (UTC) Received: from dhcp195.koti.laiskiainen.org.com (vpn1-7-167.ams2.redhat.com [10.36.7.167]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t8O7pqjB004719 for ; Thu, 24 Sep 2015 03:51:55 -0400 From: Panu Matilainen To: dev@dpdk.org Date: Thu, 24 Sep 2015 10:50:57 +0300 Message-Id: <99940d5aa895707bf39cdc01f87a41ff25aac63f.1443080778.git.pmatilai@redhat.com> In-Reply-To: References: In-Reply-To: References: X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 Subject: [dpdk-dev] [PATCH 1/3] scripts: permit passing extra compiler & linker flags to ABI validator X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Sep 2015 07:51:56 -0000 Its sometimes necessary to disable warnings etc to get an older version of code to build. Signed-off-by: Panu Matilainen --- 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 4476433..b9c9989 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.4.3