From 8af5d4f7e9475acb6ac12b34cc565e8a2a067d6f Mon Sep 17 00:00:00 2001 From: Tyler Hall Date: Sat, 3 Sep 2016 19:31:37 -0400 Subject: [PATCH] compiler-rt: ensure -e is passed to make OE-Core rev aeb653861a0ec39ea7a014c0622980edcbf653fa (between jethro and krogoth) removed -e from the default flags in EXTRA_OEMAKE. Without this, the makefile will default to gcc for CC. --- recipes-devtools/rust/compiler-rt.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/recipes-devtools/rust/compiler-rt.bb b/recipes-devtools/rust/compiler-rt.bb index a9644d1..d0dc987 100644 --- a/recipes-devtools/rust/compiler-rt.bb +++ b/recipes-devtools/rust/compiler-rt.bb @@ -9,6 +9,9 @@ LIC_FILES_CHKSUM = "file://LICENSE.TXT;md5=27b14ab4ce08d04c3a9a5f0ed7997362" S .= "/src/compiler-rt" B = "${WORKDIR}/build" +# Pick up $CC from the environment +EXTRA_OEMAKE += "-e" + do_compile () { oe_runmake -C ${S} \ ProjSrcRoot="${S}" \