summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc/gcc-configure-cross.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-configure-cross.inc')
-rw-r--r--meta/recipes-devtools/gcc/gcc-configure-cross.inc4
1 files changed, 4 insertions, 0 deletions
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
25LIBGCCS_VAR = "-lgcc_s" 29LIBGCCS_VAR = "-lgcc_s"