diff options
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-configure-common.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-configure-common.inc b/meta/recipes-devtools/gcc/gcc-configure-common.inc index 50ff0d2e82..f152ae5555 100644 --- a/meta/recipes-devtools/gcc/gcc-configure-common.inc +++ b/meta/recipes-devtools/gcc/gcc-configure-common.inc | |||
| @@ -72,6 +72,7 @@ CPPFLAGS = "" | |||
| 72 | SYSTEMHEADERS = "${target_includedir}" | 72 | SYSTEMHEADERS = "${target_includedir}" |
| 73 | SYSTEMLIBS = "${target_base_libdir}/" | 73 | SYSTEMLIBS = "${target_base_libdir}/" |
| 74 | SYSTEMLIBS1 = "${target_libdir}/" | 74 | SYSTEMLIBS1 = "${target_libdir}/" |
| 75 | SYSTEMLOCALHEADERS = "${target_prefix}/local/include" | ||
| 75 | 76 | ||
| 76 | do_configure:prepend () { | 77 | do_configure:prepend () { |
| 77 | # teach gcc to find correct target includedir when checking libc ssp support | 78 | # teach gcc to find correct target includedir when checking libc ssp support |
| @@ -83,6 +84,7 @@ do_configure:prepend () { | |||
| 83 | #define STANDARD_STARTFILE_PREFIX_1 "${SYSTEMLIBS}" | 84 | #define STANDARD_STARTFILE_PREFIX_1 "${SYSTEMLIBS}" |
| 84 | #define STANDARD_STARTFILE_PREFIX_2 "${SYSTEMLIBS1}" | 85 | #define STANDARD_STARTFILE_PREFIX_2 "${SYSTEMLIBS1}" |
| 85 | #define SYSTEMLIBS_DIR "${SYSTEMLIBS}" | 86 | #define SYSTEMLIBS_DIR "${SYSTEMLIBS}" |
| 87 | #define LOCAL_INCLUDE_DIR "${SYSTEMLOCALHEADERS}" | ||
| 86 | #endif /* ! GCC_DEFAULTS_H */ | 88 | #endif /* ! GCC_DEFAULTS_H */ |
| 87 | _EOF | 89 | _EOF |
| 88 | mv ${B}/gcc/defaults.h.new ${B}/gcc/defaults.h | 90 | mv ${B}/gcc/defaults.h.new ${B}/gcc/defaults.h |
