[oe-commits] Khem Raj : gcc-cross-canadian_4.7.bb: Override ARCH_FLAGS_FOR_TARGET

git at git.openembedded.org git at git.openembedded.org
Thu Apr 26 14:08:25 UTC 2012


Module: openembedded-core.git
Branch: master-next
Commit: 573949096d51bde4961b2301c20c966c324a66bd
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=573949096d51bde4961b2301c20c966c324a66bd

Author: Khem Raj <raj.khem at gmail.com>
Date:   Tue Apr 10 00:37:18 2012 -0700

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 at gmail.com>

---

 .../recipes-devtools/gcc/gcc-cross-canadian_4.7.bb |    3 +++
 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 da3210f..9c4901b 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}"





More information about the Openembedded-commits mailing list