mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
gcc: remove the bogus CONFIG_TLS_SUPPORT symbol - TLS support is required by libc.
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36240 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained 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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user