diff options
author | Abdoulaye Walsimou Gaye <walsimou@walsimou.com> | 2009-05-20 00:06:15 +0200 |
---|---|---|
committer | Abdoulaye Walsimou Gaye <walsimou@walsimou.com> | 2009-05-20 00:06:15 +0200 |
commit | 5d00a7f7411a184e20e38bbc7f3430b0f2a20747 (patch) | |
tree | a3d828efe101f06f49d990cd8a26a197d3689411 | |
parent | 84c9a0e601ae1723b5eb64da0738ab52d0dbc0ac (diff) | |
download | embtoolkit-5d00a7f7411a184e20e38bbc7f3430b0f2a20747.tar.gz embtoolkit-5d00a7f7411a184e20e38bbc7f3430b0f2a20747.tar.bz2 embtoolkit-5d00a7f7411a184e20e38bbc7f3430b0f2a20747.tar.xz |
Toolchain: gcc: use EMBTK_TOOLCHAIN_MULTILIB
Signed-off-by: Abdoulaye Walsimou Gaye <walsimou@walsimou.com>
-rw-r--r-- | mk/gcc.mk | 13 |
1 files changed, 11 insertions, 2 deletions
@@ -42,6 +42,13 @@ gcc2_install: $(GCC2_BUILD_DIR)/.built gcc3_install: $(GCC3_BUILD_DIR)/.installed +#Multilib or not? +ifeq ($(CONFIG_EMBTK_TOOLCHAIN_MULTILIB),y) +GCC_MULTILIB := +else +GCC_MULTILIB := --disable-multilib +endif + #GCC first stage $(GCC1_BUILD_DIR)/.built: download_gcc $(GCC1_BUILD_DIR)/.decompressed \ $(GCC1_BUILD_DIR)/.configured @@ -86,7 +93,8 @@ $(GCC2_BUILD_DIR)/.configured: --host=$(HOST_ARCH) --build=$(HOST_BUILD) \ --disable-libssp --disable-libgomp --disable-libmudflap \ --enable-languages=c --with-gmp=$(GMP_HOST_DIR) \ - --with-mpfr=$(MPFR_HOST_DIR) + --with-mpfr=$(MPFR_HOST_DIR) \ + $(GCC_MULTILIB) @touch $@ #GCC last stage @@ -107,6 +115,7 @@ $(GCC3_BUILD_DIR)/.configured: --host=$(HOST_ARCH) --build=$(HOST_BUILD) --enable-__cxa_atexit \ --disable-libssp --disable-libgomp --disable-libmudflap \ --enable-threads --enable-shared --enable-languages=c,c++ \ - --with-gmp=$(GMP_HOST_DIR) --with-mpfr=$(MPFR_HOST_DIR) + --with-gmp=$(GMP_HOST_DIR) --with-mpfr=$(MPFR_HOST_DIR) \ + $(GCC_MULTILIB) @touch $@ |