Patchwork [meta-oe] acpica: pass target cflags

login
register
mail settings
Submitter Koen Kooi
Date June 12, 2014, 9:38 a.m.
Message ID <1402565918-14474-1-git-send-email-koen.kooi@linaro.org>
Download mbox | patch
Permalink /patch/73651/
State Accepted, archived
Headers show

Comments

Koen Kooi - June 12, 2014, 9:38 a.m.
This fixes:

| make[1]: *** [obj/aeexec.o] Error 1
| In file included from /build/linaro/build/build/tmp-eglibc/sysroots/genericarmv7a/usr/include/features.h:402:0,
|                  from /build/linaro/build/build/tmp-eglibc/sysroots/genericarmv7a/usr/include/string.h:25,
|                  from ../../../source/include/platform/aclinux.h:115,
|                  from ../../../source/include/platform/acenv.h:150,
|                  from ../../../source/include/acpi.h:56,
|                  from ../../../source/tools/acpiexec/aecommon.h:51,
|                  from ../../../source/tools/acpiexec/aehandlers.c:44:
| /build/linaro/build/build/tmp-eglibc/sysroots/genericarmv7a/usr/include/gnu/stubs.h:7:29: fatal error: gnu/stubs-soft.h: No such file or directory
|  # include <gnu/stubs-soft.h>
|                              ^
| compilation terminated.

Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
---
 meta-oe/recipes-extended/acpica/acpica_20140424.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/meta-oe/recipes-extended/acpica/acpica_20140424.bb b/meta-oe/recipes-extended/acpica/acpica_20140424.bb
index c302d27..d10a31b 100644
--- a/meta-oe/recipes-extended/acpica/acpica_20140424.bb
+++ b/meta-oe/recipes-extended/acpica/acpica_20140424.bb
@@ -19,7 +19,7 @@  SRC_URI[sha256sum] = "72ece982bbbdfb1b17418f1feb3a9daaa01803d0d41dcf00e19d702cdf
 
 S = "${WORKDIR}/acpica-unix2-${PV}"
 
-EXTRA_OEMAKE = "CC=${TARGET_PREFIX}gcc 'OPT_CFLAGS=-Wall'"
+EXTRA_OEMAKE = "CC='${CC}' 'OPT_CFLAGS=-Wall'"
 
 do_install() {
     install -D -p -m0755 generate/unix/bin*/iasl ${D}${bindir}/iasl