From 481279fb32cf9d66a5f7349f9ab6c99558955179 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Thu, 23 Jun 2011 11:37:39 +0000 Subject: [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 --- toolchain/gcc/final/Makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'toolchain/gcc/final/Makefile') diff --git a/toolchain/gcc/final/Makefile b/toolchain/gcc/final/Makefile index 1decc95158..337f7ab1c5 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. -- cgit v1.2.3