From: Felix Fietkau Date: Sun, 7 Apr 2013 10:11:41 +0000 (+0000) Subject: gcc: remove the bogus CONFIG_TLS_SUPPORT symbol - TLS support is required by libc. X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;h=6e8901b5b4ca17997bfc6a3533817497caa9b98a;hp=bfec8b128d972243b56577846ac54bce32b35d2c;ds=sidebyside gcc: remove the bogus CONFIG_TLS_SUPPORT symbol - TLS support is required by libc. Signed-off-by: Felix Fietkau SVN-Revision: 36240 --- diff --git a/toolchain/gcc/Config.in b/toolchain/gcc/Config.in index 585017586a..811c6d47c2 100644 --- a/toolchain/gcc/Config.in +++ b/toolchain/gcc/Config.in @@ -52,13 +52,6 @@ config SSP_SUPPORT help Enable Stack-Smashing Protection support -config TLS_SUPPORT - bool - prompt "Enable Thread-local storage (TLS) support" if TOOLCHAINOPTS - default n - help - Enable Thread-local storage support - config SJLJ_EXCEPTIONS bool prompt "Use setjump()/longjump() exceptions" if TOOLCHAINOPTS diff --git a/toolchain/gcc/final/Makefile b/toolchain/gcc/final/Makefile index e8c32f629d..2c25263db1 100644 --- a/toolchain/gcc/final/Makefile +++ b/toolchain/gcc/final/Makefile @@ -15,14 +15,6 @@ ifneq ($(CONFIG_GCC_VERSION_4_5)$(CONFIG_GCC_VERSION_4_6),) --with-libelf=$(TOPDIR)/staging_dir/host endif -ifneq ($(CONFIG_TLS_SUPPORT),) - GCC_CONFIGURE += \ - --enable-tls -else - GCC_CONFIGURE += \ - --disable-tls -endif - ifneq ($(CONFIG_SJLJ_EXCEPTIONS),) GCC_CONFIGURE += \ --enable-sjlj-exceptions