devtools: fix ARM builds test with meson
authorBruce Richardson <bruce.richardson@intel.com>
Fri, 8 Jun 2018 10:35:12 +0000 (11:35 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 14 Jun 2018 15:46:02 +0000 (17:46 +0200)
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 <bruce.richardson@intel.com>
Acked-by: Thomas Monjalon <thomas@monjalon.net>
devtools/test-meson-builds.sh

index 9868c32..f2ad05f 100755 (executable)
@@ -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