diff options
author | Bryce McKinlay <bmckinlay@gmail.com> | 2009-12-09 18:45:13 +0000 |
---|---|---|
committer | Bryce McKinlay <bryce@gcc.gnu.org> | 2009-12-09 18:45:13 +0000 |
commit | 5df19a915e5519446f457d5be782066f178da12d (patch) | |
tree | 70a63b773655f28980f5e5a4154331e0ead49b05 /libjava/configure.ac | |
parent | af078bb0cf6e9b547c4f883e294f529914339cd0 (diff) | |
download | gcc-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.ac | 7 |
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) |