mirror of https://github.com/hak5/openwrt.git
gcc: remove the bogus CONFIG_TLS_SUPPORT symbol - TLS support is required by libc.
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 36240lede-17.01
parent
46072644e5
commit
c270db592a
|
@ -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…
Reference in New Issue