summaryrefslogtreecommitdiffstats
path: root/toolchain/gcc/final
diff options
context:
space:
mode:
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-06-23 11:37:39 +0000
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-06-23 11:37:39 +0000
commit814de68e5dab04406c3369dbf3975ae9eca4615a (patch)
tree9d6ecc33b7121e1e406ff66a36b4ce3a97179776 /toolchain/gcc/final
parentcf43489095c884def873116491fcd311c12c18ee (diff)
[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
Diffstat (limited to 'toolchain/gcc/final')
-rw-r--r--toolchain/gcc/final/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/toolchain/gcc/final/Makefile b/toolchain/gcc/final/Makefile
index 1decc9515..337f7ab1c 100644
--- a/toolchain/gcc/final/Makefile
+++ b/toolchain/gcc/final/Makefile
@@ -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.