summaryrefslogtreecommitdiff
path: root/toolchain
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/gcc/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile
index 4d9a75e4e..ea3cd1f4d 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 \
--enable-sjlj-exceptions \
--disable-libgomp \
@@ -35,7 +34,7 @@ else
GCC_CONFOPTS+= --disable-libssp
endif
-ifeq ($(ADK_NO_FPU),y)
+ifeq ($(ADK_DEVICE_NO_FPU),y)
GCC_CONFOPTS+= --with-float=soft
endif
@@ -43,6 +42,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