summaryrefslogtreecommitdiff
path: root/meta/packages
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-09-17 01:04:09 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2009-09-17 22:25:24 +0100
commit7efbf5caf87324687f9515af6fcac0b3267365b3 (patch)
treefb6a5d7a009b637d97b46288c1474b043a939930 /meta/packages
parent835bc8f5f61709fdb3b284509accc8a04664191f (diff)
downloadopenembedded-core-7efbf5caf87324687f9515af6fcac0b3267365b3.tar.gz
openembedded-core-7efbf5caf87324687f9515af6fcac0b3267365b3.tar.bz2
openembedded-core-7efbf5caf87324687f9515af6fcac0b3267365b3.tar.xz
openembedded-core-7efbf5caf87324687f9515af6fcac0b3267365b3.zip
gcc-configure-common.inc: Allow the multilib option to be changed
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
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 \