mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-23 22:04:04 +02:00
[toolchain] introduce option to enable setjump()/longjump() based C++ exceptions (#9185, patch from David Kuehling via Qi hardware)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27261 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
cf43489095
commit
814de68e5d
@ -66,6 +66,15 @@ config TLS_SUPPORT
|
||||
help
|
||||
Enable Thread-local storage support
|
||||
|
||||
config SJLJ_EXCEPTIONS
|
||||
bool
|
||||
prompt "Use setjump()/longjump() exceptions" if TOOLCHAINOPTS
|
||||
default n
|
||||
help
|
||||
Use old setjump()/longjump() exceptions instead of the newer
|
||||
frame unwinding exceptions handling routines. Warning: increases
|
||||
code size and runtime memory usage.
|
||||
|
||||
config INSTALL_LIBSTDCPP
|
||||
bool
|
||||
prompt "Build/install c++ compiler and libstdc++?" if TOOLCHAINOPTS
|
||||
|
@ -22,6 +22,11 @@ else
|
||||
--disable-tls
|
||||
endif
|
||||
|
||||
ifneq ($(CONFIG_SJLJ_EXCEPTIONS),)
|
||||
GCC_CONFIGURE += \
|
||||
--enable-sjlj-exceptions
|
||||
endif
|
||||
|
||||
define Host/Configure
|
||||
mkdir -p $(GCC_BUILD_DIR) $(TOOLCHAIN_DIR)/$(REAL_GNU_TARGET_NAME)
|
||||
# Important! Required for limits.h to be fixed.
|
||||
|
Loading…
Reference in New Issue
Block a user