summaryrefslogtreecommitdiffstats
path: root/meta/packages/gcc
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-09-18 14:09:11 +0000
committerRichard Purdie <richard@openedhand.com>2007-09-18 14:09:11 +0000
commit308250ed4ad932b27ca458f554e0a5e73bd3a11e (patch)
treeadcad2a8f3f97bc3c8c8ab8975e8bfb52b6ac932 /meta/packages/gcc
parent79bbd249406dbe366a9301354d3643a850ac4c13 (diff)
downloadpoky-308250ed4ad932b27ca458f554e0a5e73bd3a11e.tar.gz
gcc3-build.inc: Add staging includes to ARCH_FLAGS for target meaning we don't have to have includes in both staging and cross
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2758 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/gcc')
-rw-r--r--meta/packages/gcc/gcc3-build.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/packages/gcc/gcc3-build.inc b/meta/packages/gcc/gcc3-build.inc
index 2924f0f9dd..0ab66addb5 100644
--- a/meta/packages/gcc/gcc3-build.inc
+++ b/meta/packages/gcc/gcc3-build.inc
@@ -47,11 +47,11 @@ CPPFLAGS = ""
47 47
48# Used by configure to define additional values for FLAGS_FOR_TARGET - 48# Used by configure to define additional values for FLAGS_FOR_TARGET -
49# passed to all the compilers. 49# passed to all the compilers.
50ARCH_FLAGS_FOR_TARGET = "" 50ARCH_FLAGS_FOR_TARGET = "-isystem${STAGING_DIR}/${TARGET_SYS}/include"
51#NOTE: not tested on other platforms, the following is probably correct 51#NOTE: not tested on other platforms, the following is probably correct
52# everywhere! 52# everywhere!
53ARCH_FLAGS_FOR_TARGET_slugos = "${TARGET_CC_ARCH}" 53ARCH_FLAGS_FOR_TARGET_slugos = "-isystem${STAGING_DIR}/${TARGET_SYS}/include ${TARGET_CC_ARCH}"
54ARCH_FLAGS_FOR_TARGET_unslung = "${TARGET_CC_ARCH}" 54ARCH_FLAGS_FOR_TARGET_unslung = "-isystem${STAGING_DIR}/${TARGET_SYS}/include ${TARGET_CC_ARCH}"
55EXTRA_OEMAKE += "ARCH_FLAGS_FOR_TARGET='${ARCH_FLAGS_FOR_TARGET}'" 55EXTRA_OEMAKE += "ARCH_FLAGS_FOR_TARGET='${ARCH_FLAGS_FOR_TARGET}'"
56 56
57require gcc-fpu.inc 57require gcc-fpu.inc