From df71ff76b7ea5acdb9e66122e1ba0869405d0054 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 13 Jun 2009 17:12:29 +0200 Subject: fix uclibc targets, gcc 4.4 needs to configured without TLS --- toolchain/gcc/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'toolchain/gcc') 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 -- cgit v1.2.3