gcc: remove the bogus CONFIG_TLS_SUPPORT symbol - TLS support is required by libc.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36240
master
Felix Fietkau 12 years ago
parent 46072644e5
commit c270db592a
  1. 7
      toolchain/gcc/Config.in
  2. 8
      toolchain/gcc/final/Makefile

@ -52,13 +52,6 @@ config SSP_SUPPORT
help help
Enable Stack-Smashing Protection support 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 config SJLJ_EXCEPTIONS
bool bool
prompt "Use setjump()/longjump() exceptions" if TOOLCHAINOPTS prompt "Use setjump()/longjump() exceptions" if TOOLCHAINOPTS

@ -15,14 +15,6 @@ ifneq ($(CONFIG_GCC_VERSION_4_5)$(CONFIG_GCC_VERSION_4_6),)
--with-libelf=$(TOPDIR)/staging_dir/host --with-libelf=$(TOPDIR)/staging_dir/host
endif endif
ifneq ($(CONFIG_TLS_SUPPORT),)
GCC_CONFIGURE += \
--enable-tls
else
GCC_CONFIGURE += \
--disable-tls
endif
ifneq ($(CONFIG_SJLJ_EXCEPTIONS),) ifneq ($(CONFIG_SJLJ_EXCEPTIONS),)
GCC_CONFIGURE += \ GCC_CONFIGURE += \
--enable-sjlj-exceptions --enable-sjlj-exceptions

Loading…
Cancel
Save