summaryrefslogtreecommitdiff
path: root/toolchain/gcc/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-06-13 17:12:29 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2009-06-13 17:12:29 +0200
commitdf71ff76b7ea5acdb9e66122e1ba0869405d0054 (patch)
tree9bfd92519fd7adb4f72e94ef42ad2a757e3a5266 /toolchain/gcc/Makefile
parent9bb9e3d7d1d79551953a4dea287ffe34032049dc (diff)
fix uclibc targets, gcc 4.4 needs to configured without TLS
Diffstat (limited to 'toolchain/gcc/Makefile')
-rw-r--r--toolchain/gcc/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile
index e573d922e..47b4f6df1 100644
--- a/toolchain/gcc/Makefile
+++ b/toolchain/gcc/Makefile
@@ -21,7 +21,6 @@ GCC_CONFOPTS= --prefix=$(STAGING_TOOLS) \
--disable-__cxa_atexit \
--enable-target-optspace \
--with-gnu-ld \
- --without-headers \
--disable-libmudflap \
--disable-libgomp \
--disable-biarch \
@@ -34,7 +33,7 @@ else
GCC_CONFOPTS+= --disable-libssp
endif
-ifeq ($(ADK_NO_FPU),y)
+ifeq ($(ADK_DEVICE_NO_FPU),y)
GCC_CONFOPTS+= --with-float=soft
endif
@@ -42,6 +41,10 @@ ifeq ($(ADK_LINUX_MIPS64),y)
GCC_CONFOPTS+= --with-abi=64
endif
+ifeq ($(ADK_TARGET_LIB_UCLIBC),y)
+GCC_CONFOPTS+= --disable-tls
+endif
+
include ${TOPDIR}/mk/buildhlp.mk
GCC_BUILD_DIR1:= $(WRKBUILD)-initial