]> code.ossystems Code Review - openembedded-core.git/commitdiff
gcc-cross-canadian_4.7.bb: Override ARCH_FLAGS_FOR_TARGET
authorKhem Raj <raj.khem@gmail.com>
Tue, 10 Apr 2012 07:37:18 +0000 (00:37 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 26 Apr 2012 13:48:49 +0000 (14:48 +0100)
We need -isystem=${target_includedir} in there

Signed-off-by: Khem Raj <raj.khem@gmail.com>
meta/recipes-devtools/gcc/gcc-cross-canadian_4.7.bb

index da3210fc3511f0c457ca70767740ea032b0e4b44..9c4901bb7604c83c55963eebc21542425675f852 100644 (file)
@@ -21,3 +21,6 @@ EXTRA_OECONF += "--disable-libunwind-exceptions --disable-libssp \
 # export LD_LIBRARY_PATH = "{STAGING_DIR_HOST}${layout_exec_prefix}"
 
 PARALLEL_MAKE = ""
+
+# gcc 4.7 needs -isystem
+export ARCH_FLAGS_FOR_TARGET = "--sysroot=${STAGING_DIR_TARGET} -isystem=${target_includedir}"