summaryrefslogtreecommitdiffstats
path: root/meta
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-30 11:37:25 +0100
commit0e70f544acd9e1b376677436dfb9f98e76ecf765 (patch)
treeaa1af614ea4b7c7f985ba9774f6db22c30126303 /meta
parente06d1f2d853373dfe3f7dae653300e6568f191f8 (diff)
downloadpoky-0e70f544acd9e1b376677436dfb9f98e76ecf765.tar.gz
gcc-cross-canadian_4.7.bb: Override ARCH_FLAGS_FOR_TARGET
We need -isystem=${target_includedir} in there (From OE-Core rev: 573949096d51bde4961b2301c20c966c324a66bd) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-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 da3210fc35..9c4901bb76 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 \
21# export LD_LIBRARY_PATH = "{STAGING_DIR_HOST}${layout_exec_prefix}" 21# export LD_LIBRARY_PATH = "{STAGING_DIR_HOST}${layout_exec_prefix}"
22 22
23PARALLEL_MAKE = "" 23PARALLEL_MAKE = ""
24
25# gcc 4.7 needs -isystem
26export ARCH_FLAGS_FOR_TARGET = "--sysroot=${STAGING_DIR_TARGET} -isystem=${target_includedir}"