summaryrefslogtreecommitdiff
path: root/toolchain/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain/gcc')
-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