From 0e70f544acd9e1b376677436dfb9f98e76ecf765 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 10 Apr 2012 00:37:18 -0700 Subject: 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 Signed-off-by: Richard Purdie --- meta/recipes-devtools/gcc/gcc-cross-canadian_4.7.bb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'meta/recipes-devtools/gcc/gcc-cross-canadian_4.7.bb') 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 \ # 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}" -- cgit v1.2.3-54-g00ecf