aboutsummaryrefslogtreecommitdiff
path: root/libjava/configure.ac
diff options
context:
space:
mode:
authorBryce McKinlay <bmckinlay@gmail.com>2009-12-09 18:45:13 +0000
committerBryce McKinlay <bryce@gcc.gnu.org>2009-12-09 18:45:13 +0000
commit5df19a915e5519446f457d5be782066f178da12d (patch)
tree70a63b773655f28980f5e5a4154331e0ead49b05 /libjava/configure.ac
parentaf078bb0cf6e9b547c4f883e294f529914339cd0 (diff)
downloadgcc-5df19a915e5519446f457d5be782066f178da12d.zip
gcc-5df19a915e5519446f457d5be782066f178da12d.tar.gz
gcc-5df19a915e5519446f457d5be782066f178da12d.tar.bz2
re PR java/41991 (gcj segfaults on i686-apple-darwin9 and x86_64-apple-darwin9)
2009-12-09 Bryce McKinlay <bmckinlay@gmail.com> PR java/41991 * configure.ac (SYSTEMSPEC): Pass -allow_stack_execute to Darwin linker. * Makefile.am (gij_LDFLAGS): Remove extra_gij_ldflags. * configure: Regenerate. * Makefile.in: Regenerate. From-SVN: r155113
Diffstat (limited to 'libjava/configure.ac')
-rw-r--r--libjava/configure.ac7
1 files changed, 3 insertions, 4 deletions
diff --git a/libjava/configure.ac b/libjava/configure.ac
index 42c84ec..d8cb610 100644
--- a/libjava/configure.ac
+++ b/libjava/configure.ac
@@ -889,6 +889,9 @@ case "${host}" in
SYSTEMSPEC="-lunicows $SYSTEMSPEC"
fi
;;
+ *-*-darwin[[912]]*)
+ SYSTEMSPEC="-allow_stack_execute"
+ ;;
*)
SYSTEMSPEC=
;;
@@ -919,9 +922,6 @@ case "${host}" in
# on Darwin -single_module speeds up loading of the dynamic libraries.
extra_ldflags_libjava=-Wl,-single_module
;;
-*-*-darwin[[912]]*)
- extra_gij_ldflags=-Wl,-allow_stack_execute
- ;;
arm*linux*eabi)
# Some of the ARM unwinder code is actually in libstdc++. We
# could in principle replicate it in libgcj, but it's better to
@@ -935,7 +935,6 @@ arm*linux*eabi)
;;
esac
AC_SUBST(extra_ldflags_libjava)
-AC_SUBST(extra_gij_ldflags)
AC_SUBST(extra_ldflags)
AC_SUBST(LIBSTDCXXSPEC)