]> code.ossystems Code Review - openembedded-core.git/commitdiff
gcc-configure-common.inc: Allow the multilib option to be changed
authorRichard Purdie <rpurdie@linux.intel.com>
Thu, 17 Sep 2009 00:04:09 +0000 (01:04 +0100)
committerRichard Purdie <rpurdie@linux.intel.com>
Thu, 17 Sep 2009 21:25:24 +0000 (22:25 +0100)
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
meta/packages/gcc/gcc-configure-common.inc

index d9bd40092c28f6f08a9a1a565f44ee0aa57983c1..9a64f542a84483be96829fcc0e6be519eaff61a4 100644 (file)
@@ -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 \