aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rwxr-xr-xgcc/configure8
-rw-r--r--gcc/configure.ac1
2 files changed, 6 insertions, 3 deletions
diff --git a/gcc/configure b/gcc/configure
index 89e00b7..0ee4be4 100755
--- a/gcc/configure
+++ b/gcc/configure
@@ -12684,7 +12684,9 @@ objext='.o'
# With Setjmp/Longjmp based exception handling.
# Check whether --enable-sjlj-exceptions was given.
if test "${enable_sjlj_exceptions+set}" = set; then :
- enableval=$enable_sjlj_exceptions; case $target in
+ enableval=$enable_sjlj_exceptions; force_sjlj_exceptions=yes
+else
+ case $target in
lm32*-*-*)
force_sjlj_exceptions=yes
enableval=yes
@@ -19718,7 +19720,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 19721 "configure"
+#line 19723 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -19824,7 +19826,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 19827 "configure"
+#line 19829 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
diff --git a/gcc/configure.ac b/gcc/configure.ac
index eb92a37..4ecccff 100644
--- a/gcc/configure.ac
+++ b/gcc/configure.ac
@@ -1805,6 +1805,7 @@ AC_SUBST(objext)
AC_ARG_ENABLE(sjlj-exceptions,
[AS_HELP_STRING([--enable-sjlj-exceptions],
[arrange to use setjmp/longjmp exception handling])],
+[force_sjlj_exceptions=yes],
[case $target in
lm32*-*-*)
force_sjlj_exceptions=yes