diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-configure-common.inc | 4 | ||||
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-configure-cross.inc | 4 | ||||
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-configure-sdk.inc | 4 |
3 files changed, 12 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-configure-common.inc b/meta/recipes-devtools/gcc/gcc-configure-common.inc index 9542dc9301..39b5f5223e 100644 --- a/meta/recipes-devtools/gcc/gcc-configure-common.inc +++ b/meta/recipes-devtools/gcc/gcc-configure-common.inc | |||
@@ -111,6 +111,10 @@ do_configure () { | |||
111 | # in the config.log files (which might not get generated until do_compile | 111 | # in the config.log files (which might not get generated until do_compile |
112 | # hence being missed by the insane do_configure check). | 112 | # hence being missed by the insane do_configure check). |
113 | export gcc_cv_collect2_libs="none required" | 113 | export gcc_cv_collect2_libs="none required" |
114 | export CFLAGS_FOR_TARGET="${TARGET_CFLAGS}" | ||
115 | export CPPFLAGS_FOR_TARGET="${TARGET_CPPFLAGS}" | ||
116 | export CXXFLAGS_FOR_TARGET="${TARGET_CXXFLAGS}" | ||
117 | export LDFLAGS_FOR_TARGET="${TARGET_LDFLAGS}" | ||
114 | (cd ${S} && gnu-configize) || die "failure running gnu-configize" | 118 | (cd ${S} && gnu-configize) || die "failure running gnu-configize" |
115 | 119 | ||
116 | oe_runconf | 120 | oe_runconf |
diff --git a/meta/recipes-devtools/gcc/gcc-configure-cross.inc b/meta/recipes-devtools/gcc/gcc-configure-cross.inc index 774dadb89f..98961923ba 100644 --- a/meta/recipes-devtools/gcc/gcc-configure-cross.inc +++ b/meta/recipes-devtools/gcc/gcc-configure-cross.inc | |||
@@ -20,6 +20,10 @@ do_compile_prepend () { | |||
20 | export LD_FOR_TARGET="${TARGET_SYS}-ld" | 20 | export LD_FOR_TARGET="${TARGET_SYS}-ld" |
21 | export NM_FOR_TARGET="${TARGET_SYS}-nm" | 21 | export NM_FOR_TARGET="${TARGET_SYS}-nm" |
22 | export CC_FOR_TARGET="${CCACHE} ${TARGET_SYS}-gcc ${TARGET_CC_ARCH}" | 22 | export CC_FOR_TARGET="${CCACHE} ${TARGET_SYS}-gcc ${TARGET_CC_ARCH}" |
23 | export CFLAGS_FOR_TARGET="${TARGET_CFLAGS}" | ||
24 | export CPPFLAGS_FOR_TARGET="${TARGET_CPPFLAGS}" | ||
25 | export CXXFLAGS_FOR_TARGET="${TARGET_CXXFLAGS}" | ||
26 | export LDFLAGS_FOR_TARGET="${TARGET_LDFLAGS}" | ||
23 | } | 27 | } |
24 | 28 | ||
25 | LIBGCCS_VAR = "-lgcc_s" | 29 | LIBGCCS_VAR = "-lgcc_s" |
diff --git a/meta/recipes-devtools/gcc/gcc-configure-sdk.inc b/meta/recipes-devtools/gcc/gcc-configure-sdk.inc index eb6757cdc8..6aac0ad887 100644 --- a/meta/recipes-devtools/gcc/gcc-configure-sdk.inc +++ b/meta/recipes-devtools/gcc/gcc-configure-sdk.inc | |||
@@ -39,6 +39,10 @@ do_configure () { | |||
39 | export CPPFLAGS_FOR_BUILD="${BUILD_CPPFLAGS}" | 39 | export CPPFLAGS_FOR_BUILD="${BUILD_CPPFLAGS}" |
40 | export CXXFLAGS_FOR_BUILD="${BUILD_CXXFLAGS}" | 40 | export CXXFLAGS_FOR_BUILD="${BUILD_CXXFLAGS}" |
41 | export LDFLAGS_FOR_BUILD="${BUILD_LDFLAGS}" | 41 | export LDFLAGS_FOR_BUILD="${BUILD_LDFLAGS}" |
42 | export CFLAGS_FOR_TARGET="${TARGET_CFLAGS}" | ||
43 | export CPPFLAGS_FOR_TARGET="${TARGET_CPPFLAGS}" | ||
44 | export CXXFLAGS_FOR_TARGET="${TARGET_CXXFLAGS}" | ||
45 | export LDFLAGS_FOR_TARGET="${TARGET_LDFLAGS}" | ||
42 | (cd ${S} && gnu-configize) || die "failure running gnu-configize" | 46 | (cd ${S} && gnu-configize) || die "failure running gnu-configize" |
43 | oe_runconf | 47 | oe_runconf |
44 | } | 48 | } |