Skip to content

Commit

Permalink
devtools: fix ARM builds test with meson
Browse files Browse the repository at this point in the history
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: a55277a ("devtools: add test script for meson builds")
Cc: [email protected]

Signed-off-by: Bruce Richardson <[email protected]>
Acked-by: Thomas Monjalon <[email protected]>
  • Loading branch information
bruce-richardson authored and tmonjalo committed Jun 14, 2018
1 parent acbf703 commit 03843d4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion devtools/test-meson-builds.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 03843d4

Please sign in to comment.