summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-devtools/gcc/gcc-configure-cross.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-configure-cross.inc b/meta/recipes-devtools/gcc/gcc-configure-cross.inc
index 243ee55d08..db7980ba0c 100644
--- a/meta/recipes-devtools/gcc/gcc-configure-cross.inc
+++ b/meta/recipes-devtools/gcc/gcc-configure-cross.inc
@@ -11,6 +11,9 @@ EXTRA_OECONF_PATHS = " \
11 --with-sysroot=${STAGING_DIR_TARGET} \ 11 --with-sysroot=${STAGING_DIR_TARGET} \
12 --with-build-sysroot=${STAGING_DIR_TARGET}" 12 --with-build-sysroot=${STAGING_DIR_TARGET}"
13 13
14do_configure_prepend () {
15 sed -i 's/BUILD_INFO=info/BUILD_INFO=/' ${S}/gcc/configure
16}
14do_compile_prepend () { 17do_compile_prepend () {
15 export CC="${BUILD_CC}" 18 export CC="${BUILD_CC}"
16 export AR_FOR_TARGET="${TARGET_SYS}-ar" 19 export AR_FOR_TARGET="${TARGET_SYS}-ar"