summaryrefslogtreecommitdiff
path: root/toolchain/gcc/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <mail@waldemar-brodkorb.de>2012-10-05 14:49:13 +0200
committerWaldemar Brodkorb <mail@waldemar-brodkorb.de>2012-10-05 14:49:13 +0200
commitf3db9f0c592ad982d6702ce8314888d97e2de68b (patch)
tree221a3d6adf72e19928c916ece41040ca46d95441 /toolchain/gcc/Makefile
parent6c6f588279720346ef20948130884437b0cd9e6d (diff)
make libgcc static for busybox, make librt separate package, remove dependency to libtirpc, disable inetd, add preliminary multilib support (not working right now),enable 32/64 bit kernel support for x86_64
Diffstat (limited to 'toolchain/gcc/Makefile')
-rw-r--r--toolchain/gcc/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile
index a9f361ffe..a61d5eaa7 100644
--- a/toolchain/gcc/Makefile
+++ b/toolchain/gcc/Makefile
@@ -17,7 +17,6 @@ GCC_CONFOPTS= --prefix=$(STAGING_HOST_DIR) \
--with-libelf=$(STAGING_HOST_DIR) \
--disable-__cxa_atexit \
--with-gnu-ld \
- --disable-multilib \
--disable-libmudflap \
--disable-libgomp \
--disable-decimal-float \
@@ -34,10 +33,12 @@ else
GCC_CONFOPTS+= --disable-sjlj-exceptions
endif
-ifeq ($(ADK_64BIT_KERNEL),y)
-GCC_CONFOPTS+= --enable-targets=all
+ifeq ($(ADK_TARGET_WITH_MULTILIB),y)
+GCC_CONFOPTS+= --with-multilib-list=$(ADK_MULTILIB_TARGET) \
+ --enable-multilib
else
-GCC_CONFOPTS+= --disable-biarch
+GCC_CONFOPTS+= --disable-biarch \
+ --disable-multilib
endif
ifeq ($(ADK_TOOLCHAIN_GCC_SSP),y)