summaryrefslogtreecommitdiff
path: root/meta/packages
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages')
-rw-r--r--meta/packages/gcc/gcc-configure-common.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/packages/gcc/gcc-configure-common.inc b/meta/packages/gcc/gcc-configure-common.inc
index d9bd40092..9a64f542a 100644
--- a/meta/packages/gcc/gcc-configure-common.inc
+++ b/meta/packages/gcc/gcc-configure-common.inc
@@ -16,13 +16,15 @@ LANGUAGES ?= "c,c++${FORTRAN}${JAVA}"
EXTRA_OECONF_BASE ?= ""
EXTRA_OECONF_PATHS ?= ""
+GCCMULTILIB = "--enable-multilib"
+
EXTRA_OECONF = "${@['--enable-clocale=generic', ''][bb.data.getVar('USE_NLS', d, 1) != 'no']} \
--with-gnu-ld \
--enable-shared \
--enable-target-optspace \
--enable-languages=${LANGUAGES} \
--enable-threads=posix \
- --enable-multilib \
+ ${GCCMULTILIB} \
--enable-c99 \
--enable-long-long \
--enable-symvers=gnu \