diff options
| -rw-r--r-- | meta/packages/gcc/gcc3-build.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/packages/gcc/gcc3-build.inc b/meta/packages/gcc/gcc3-build.inc index 2924f0f9dd..0ab66addb5 100644 --- a/meta/packages/gcc/gcc3-build.inc +++ b/meta/packages/gcc/gcc3-build.inc | |||
| @@ -47,11 +47,11 @@ CPPFLAGS = "" | |||
| 47 | 47 | ||
| 48 | # Used by configure to define additional values for FLAGS_FOR_TARGET - | 48 | # Used by configure to define additional values for FLAGS_FOR_TARGET - |
| 49 | # passed to all the compilers. | 49 | # passed to all the compilers. |
| 50 | ARCH_FLAGS_FOR_TARGET = "" | 50 | ARCH_FLAGS_FOR_TARGET = "-isystem${STAGING_DIR}/${TARGET_SYS}/include" |
| 51 | #NOTE: not tested on other platforms, the following is probably correct | 51 | #NOTE: not tested on other platforms, the following is probably correct |
| 52 | # everywhere! | 52 | # everywhere! |
| 53 | ARCH_FLAGS_FOR_TARGET_slugos = "${TARGET_CC_ARCH}" | 53 | ARCH_FLAGS_FOR_TARGET_slugos = "-isystem${STAGING_DIR}/${TARGET_SYS}/include ${TARGET_CC_ARCH}" |
| 54 | ARCH_FLAGS_FOR_TARGET_unslung = "${TARGET_CC_ARCH}" | 54 | ARCH_FLAGS_FOR_TARGET_unslung = "-isystem${STAGING_DIR}/${TARGET_SYS}/include ${TARGET_CC_ARCH}" |
| 55 | EXTRA_OEMAKE += "ARCH_FLAGS_FOR_TARGET='${ARCH_FLAGS_FOR_TARGET}'" | 55 | EXTRA_OEMAKE += "ARCH_FLAGS_FOR_TARGET='${ARCH_FLAGS_FOR_TARGET}'" |
| 56 | 56 | ||
| 57 | require gcc-fpu.inc | 57 | require gcc-fpu.inc |
