summaryrefslogtreecommitdiff
path: root/mk/gcc.mk
diff options
context:
space:
mode:
authorAbdoulaye Walsimou Gaye <walsimou@walsimou.com>2010-01-01 16:29:48 +0100
committerAbdoulaye Walsimou Gaye <walsimou@walsimou.com>2010-01-01 16:29:48 +0100
commit5d7833dfd59aba60739cc85e09a58dbd388e4d38 (patch)
treeede12ddf3f43d84e1e669815510d58ed28984d2b /mk/gcc.mk
parenta47cd7b3ea926e3c0046c0b7f4dcb0dd02acc517 (diff)
downloadembtoolkit-5d7833dfd59aba60739cc85e09a58dbd388e4d38.tar.gz
embtoolkit-5d7833dfd59aba60739cc85e09a58dbd388e4d38.tar.bz2
embtoolkit-5d7833dfd59aba60739cc85e09a58dbd388e4d38.tar.xz
Toolchain: new MPC: Include MPC in the toolchain components
Include MPC (Multi Precision Complex arithmetic) in the toolchain components as it will be required for gcc in the future. Signed-off-by: Abdoulaye Walsimou Gaye <walsimou@walsimou.com>
Diffstat (limited to 'mk/gcc.mk')
-rw-r--r--mk/gcc.mk7
1 files changed, 5 insertions, 2 deletions
diff --git a/mk/gcc.mk b/mk/gcc.mk
index 7842ae1..72d998b 100644
--- a/mk/gcc.mk
+++ b/mk/gcc.mk
@@ -100,7 +100,8 @@ $(GCC1_BUILD_DIR)/.configured:
--without-headers --with-newlib --disable-shared --disable-threads \
--disable-libssp --disable-libgomp --disable-libmudflap --disable-nls \
--enable-languages=c --enable-target-optspace \
- --with-gmp=$(GMP_HOST_DIR) --with-mpfr=$(MPFR_HOST_DIR)
+ --with-gmp=$(GMP_HOST_DIR) --with-mpfr=$(MPFR_HOST_DIR) \
+ --with-mpc=$(MPC_HOST_DIR)
@touch $@
#GCC second stage
@@ -120,7 +121,8 @@ $(GCC2_BUILD_DIR)/.configured:
--host=$(HOST_ARCH) --build=$(HOST_BUILD) \
--disable-libssp --disable-libgomp --disable-libmudflap --disable-nls \
--enable-languages=c --enable-target-optspace \
- --with-gmp=$(GMP_HOST_DIR) --with-mpfr=$(MPFR_HOST_DIR)
+ --with-gmp=$(GMP_HOST_DIR) --with-mpfr=$(MPFR_HOST_DIR) \
+ --with-mpc=$(MPC_HOST_DIR)
@touch $@
#GCC last stage
@@ -154,6 +156,7 @@ $(GCC3_BUILD_DIR)/.configured:
--disable-libssp --disable-libgomp --disable-libmudflap --disable-nls \
--enable-threads --enable-shared --enable-target-optspace \
--with-gmp=$(GMP_HOST_DIR) --with-mpfr=$(MPFR_HOST_DIR) \
+ --with-mpc=$(MPC_HOST_DIR) \
--enable-languages=`echo $(GCC_LANGUAGES) | sed 's/ //g'` \
$(GCC3_CONFIGURE_EXTRA_OPTIONS) \
--with-pkgversion=embtoolkit-$(EMBTK_VERSION)