]> code.ossystems Code Review - openembedded-core.git/commitdiff
gcc3-build.inc: Add staging includes to ARCH_FLAGS for target meaning we don't have...
authorRichard Purdie <richard@openedhand.com>
Tue, 18 Sep 2007 14:09:11 +0000 (14:09 +0000)
committerRichard Purdie <richard@openedhand.com>
Tue, 18 Sep 2007 14:09:11 +0000 (14:09 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2758 311d38ba-8fff-0310-9ca6-ca027cbcb966

meta/packages/gcc/gcc3-build.inc

index 2924f0f9dd091757249ed86823432b164535b5ed..0ab66addb5c5610b1ed435d6d4595d471bf4b5b5 100644 (file)
@@ -47,11 +47,11 @@ CPPFLAGS = ""
 
 # Used by configure to define additional values for FLAGS_FOR_TARGET -
 # passed to all the compilers.
-ARCH_FLAGS_FOR_TARGET = ""
+ARCH_FLAGS_FOR_TARGET = "-isystem${STAGING_DIR}/${TARGET_SYS}/include"
 #NOTE: not tested on other platforms, the following is probably correct
 # everywhere!
-ARCH_FLAGS_FOR_TARGET_slugos = "${TARGET_CC_ARCH}"
-ARCH_FLAGS_FOR_TARGET_unslung = "${TARGET_CC_ARCH}"
+ARCH_FLAGS_FOR_TARGET_slugos = "-isystem${STAGING_DIR}/${TARGET_SYS}/include ${TARGET_CC_ARCH}"
+ARCH_FLAGS_FOR_TARGET_unslung = "-isystem${STAGING_DIR}/${TARGET_SYS}/include ${TARGET_CC_ARCH}"
 EXTRA_OEMAKE += "ARCH_FLAGS_FOR_TARGET='${ARCH_FLAGS_FOR_TARGET}'"
 
 require gcc-fpu.inc