summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc/gcc-cross_4.7.bb
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2012-04-12 21:35:14 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-04-30 11:37:27 +0100
commit8250ca8b32f7d84c344521b71abc6fb095c347a0 (patch)
treeecd13a6f96387401b8b6d0836a988875eeec657c /meta/recipes-devtools/gcc/gcc-cross_4.7.bb
parent9f328535440abe241fd679aa1d211e6b4e71f885 (diff)
downloadpoky-8250ca8b32f7d84c344521b71abc6fb095c347a0.tar.gz
gcc-4.7: Do not use --with-header option for cross-gcc
(From OE-Core rev: 11cbd871e0969931d5c81ec53684446f4293faf1) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-cross_4.7.bb')
-rw-r--r--meta/recipes-devtools/gcc/gcc-cross_4.7.bb6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-cross_4.7.bb b/meta/recipes-devtools/gcc/gcc-cross_4.7.bb
index 75679d1b05..d60523513f 100644
--- a/meta/recipes-devtools/gcc/gcc-cross_4.7.bb
+++ b/meta/recipes-devtools/gcc/gcc-cross_4.7.bb
@@ -5,4 +5,10 @@ EXTRA_OECONF += "--disable-libunwind-exceptions \
5 --with-mpfr=${STAGING_DIR_NATIVE}${prefix_native} \ 5 --with-mpfr=${STAGING_DIR_NATIVE}${prefix_native} \
6 --with-system-zlib " 6 --with-system-zlib "
7 7
8EXTRA_OECONF_PATHS = " \
9 --with-gxx-include-dir=${STAGING_DIR_TARGET}${target_includedir}/c++ \
10 --with-sysroot=${STAGING_DIR_TARGET} \
11 --with-build-sysroot=${STAGING_DIR_TARGET}"
12
13
8ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_DIR_TARGET}${target_includedir}" 14ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_DIR_TARGET}${target_includedir}"