From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bruce Richardson Subject: [PATCH] devtools/test-meson-build: fix CC override for cross builds Date: Fri, 8 Jun 2018 11:35:12 +0100 Message-ID: <20180608103512.71263-1-bruce.richardson@intel.com> Cc: dev@dpdk.org, Bruce Richardson , stable@dpdk.org To: thomas@monjalon.net Return-path: List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" For cross-builds the CC environmental variable only applies for compiling native binaries i.e. pmdinfogen, so setting it to a cross-build compiler will only cause problems. Leave the value unset in the script to use the platform-default compiler. Fixes: a55277a788df ("devtools: add test script for meson builds") CC: stable@dpdk.org Signed-off-by: Bruce Richardson --- devtools/test-meson-builds.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/devtools/test-meson-builds.sh b/devtools/test-meson-builds.sh index 9868c325b..f2ad05f32 100755 --- a/devtools/test-meson-builds.sh +++ b/devtools/test-meson-builds.sh @@ -41,6 +41,5 @@ for f in config/arm/arm*gcc ; do if ! command -v $c >/dev/null 2>&1 ; then continue fi - export CC="ccache $c" build build-$(basename $f | tr '_' '-' | cut -d'-' -f-2) --cross-file $f done -- 2.17.1