Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 36240
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
--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