diff options
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-4.7.inc')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-4.7.inc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-4.7.inc b/meta/recipes-devtools/gcc/gcc-4.7.inc index 7cfc388b78..784a3be328 100644 --- a/meta/recipes-devtools/gcc/gcc-4.7.inc +++ b/meta/recipes-devtools/gcc/gcc-4.7.inc | |||
@@ -63,6 +63,7 @@ SRC_URI = "svn://gcc.gnu.org/svn/gcc/branches;module=${BRANCH};proto=http \ | |||
63 | file://pr32219.patch \ | 63 | file://pr32219.patch \ |
64 | file://fortran-cross-compile-hack.patch \ | 64 | file://fortran-cross-compile-hack.patch \ |
65 | file://libgcc-sjlj-check.patch \ | 65 | file://libgcc-sjlj-check.patch \ |
66 | file://cpp-honor-sysroot.patch \ | ||
66 | " | 67 | " |
67 | 68 | ||
68 | S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/${BRANCH}" | 69 | S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/${BRANCH}" |
@@ -103,6 +104,11 @@ EXTRA_OECONF_INTERMEDIATE = "--disable-libmudflap \ | |||
103 | 104 | ||
104 | EXTRA_OECONF_append_libc-uclibc = " --disable-decimal-float " | 105 | EXTRA_OECONF_append_libc-uclibc = " --disable-decimal-float " |
105 | 106 | ||
107 | EXTRA_OECONF_PATHS = " \ | ||
108 | --with-gxx-include-dir=${STAGING_DIR_TARGET}${target_includedir}/c++ \ | ||
109 | --with-sysroot=${STAGING_DIR_TARGET} \ | ||
110 | --with-build-sysroot=${STAGING_DIR_TARGET}" | ||
111 | |||
106 | do_configure_prepend () { | 112 | do_configure_prepend () { |
107 | # teach gcc to find correct target includedir when checking libc ssp support | 113 | # teach gcc to find correct target includedir when checking libc ssp support |
108 | mkdir -p ${B}/gcc | 114 | mkdir -p ${B}/gcc |