]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
acpitests: Point Makefile CC to use OE synthesized CC
authorKhem Raj <raj.khem@gmail.com>
Mon, 20 Mar 2017 16:47:34 +0000 (09:47 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 21 Mar 2017 22:43:03 +0000 (22:43 +0000)
Default CC is same as used here, there is no need to
duplicate it, as a plus it helps in compiling acpitests with
non-gcc cross compilers

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-extended/acpica/acpitests_20140828.bb

index 1f6f190c2e8805258ba6bd1a8da7d1519c1de413..409da5ccc411f678907ab399ac0f205fb64eff96 100644 (file)
@@ -18,7 +18,7 @@ SRC_URI[acpica.sha256sum] = "01d8867656c5ba41dec307c4383ce676196ad4281ac2c9dec9f
 
 S = "${WORKDIR}/acpitests-unix-${PV}"
 
-EXTRA_OEMAKE = "'CC=${TARGET_PREFIX}gcc ${HOST_CC_ARCH} ${TOOLCHAIN_OPTIONS}' 'OPT_CFLAGS=-Wall'"
+EXTRA_OEMAKE = "'CC=${CC}' 'OPT_CFLAGS=-Wall'"
 
 # The Makefiles expect a specific layout
 do_compile() {