summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--toolchain/gcc/Config.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/toolchain/gcc/Config.in b/toolchain/gcc/Config.in
index ce0a5ab50..b19a36dec 100644
--- a/toolchain/gcc/Config.in
+++ b/toolchain/gcc/Config.in
@@ -59,7 +59,8 @@ config BR2_GCC_VERSION
config BR2_GCC_USE_SJLJ_EXCEPTIONS
string
- default "--enable-sjlj-exceptions"
+ default "--enable-sjlj-exceptions" if BR2_GCC_VERSION_3_3_3
+ default ""
help
Currently the unwind stuff seems to work for staticly linked apps
but not dynamic. So use setjmp/longjmp exceptions by default.