summaryrefslogtreecommitdiff
path: root/packages/gcc/gcc-cross_4.1.2.bb
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2008-03-17 11:32:27 +0000
committerRichard Purdie <rpurdie@rpsys.net>2008-03-17 11:32:27 +0000
commit4fb731958d0018c9b460ea70f415da010d0a7bac (patch)
tree2996b6031074589879a300f197f6d67285c5ab99 /packages/gcc/gcc-cross_4.1.2.bb
parentf7afd7056396d5c17a775d69c563df5e63143616 (diff)
gcc: Handle ARCH_FLAGS_FOR_TARGET option for gcc 4.1/4.2 correctly
Diffstat (limited to 'packages/gcc/gcc-cross_4.1.2.bb')
-rw-r--r--packages/gcc/gcc-cross_4.1.2.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/gcc/gcc-cross_4.1.2.bb b/packages/gcc/gcc-cross_4.1.2.bb
index 8ede230269..a344bfcba8 100644
--- a/packages/gcc/gcc-cross_4.1.2.bb
+++ b/packages/gcc/gcc-cross_4.1.2.bb
@@ -10,3 +10,5 @@ SRC_URI_append_fail-fast = " file://zecke-no-host-includes.patch;patch=1 "
EXTRA_OECONF_append_avr32= " --disable-libmudflap "
EXTRA_OECONF += "--disable-libunwind-exceptions --with-mpfr=${STAGING_DIR_NATIVE}${layout_exec_prefix}"
+
+ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_DIR_TARGET}${layout_includedir}"