summaryrefslogtreecommitdiff
path: root/packages/gcc/gcc-cross_4.2.1.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.2.1.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.2.1.bb')
-rw-r--r--packages/gcc/gcc-cross_4.2.1.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/gcc/gcc-cross_4.2.1.bb b/packages/gcc/gcc-cross_4.2.1.bb
index 06f5305365..bb3b5ff9b1 100644
--- a/packages/gcc/gcc-cross_4.2.1.bb
+++ b/packages/gcc/gcc-cross_4.2.1.bb
@@ -11,3 +11,5 @@ SRC_URI_append_fail-fast = " file://zecke-no-host-includes.patch;patch=1 "
EXTRA_OECONF += "--disable-libunwind-exceptions --disable-libssp \
--disable-libgomp --disable-libmudflap \
--with-mpfr=${STAGING_DIR_NATIVE}${layout_exec_prefix}"
+
+ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_DIR_TARGET}${layout_includedir}"