From: Khem Raj Date: Tue, 10 Apr 2012 07:37:18 +0000 (-0700) Subject: gcc-cross-canadian_4.7.bb: Override ARCH_FLAGS_FOR_TARGET X-Git-Tag: 2015-4~10830 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=573949096d51bde4961b2301c20c966c324a66bd;p=openembedded-core.git gcc-cross-canadian_4.7.bb: Override ARCH_FLAGS_FOR_TARGET We need -isystem=${target_includedir} in there Signed-off-by: Khem Raj --- 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}"