X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/dc74adf4453d5f9bfaf5896e7de43938ab628472..8138343d8794c75538262269c85d97c458db103f:/toolchain/gcc/final/Makefile 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.