summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2012-04-10 00:37:18 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-04-26 14:48:49 +0100
commit573949096d51bde4961b2301c20c966c324a66bd (patch)
tree6495b8302d89acf0dfd75b75561a90d6f0534e7c /meta/recipes-devtools
parent149a9911a00c79475d00382dcc384f355fbcdd02 (diff)
downloadopenembedded-core-573949096d51bde4961b2301c20c966c324a66bd.tar.gz
openembedded-core-573949096d51bde4961b2301c20c966c324a66bd.tar.bz2
openembedded-core-573949096d51bde4961b2301c20c966c324a66bd.tar.xz
openembedded-core-573949096d51bde4961b2301c20c966c324a66bd.zip
gcc-cross-canadian_4.7.bb: Override ARCH_FLAGS_FOR_TARGET
We need -isystem=${target_includedir} in there Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/gcc/gcc-cross-canadian_4.7.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-cross-canadian_4.7.bb b/meta/recipes-devtools/gcc/gcc-cross-canadian_4.7.bb
index da3210fc3..9c4901bb7 100644
--- a/meta/recipes-devtools/gcc/gcc-cross-canadian_4.7.bb
+++ b/meta/recipes-devtools/gcc/gcc-cross-canadian_4.7.bb
@@ -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}"