aboutsummaryrefslogtreecommitdiff
path: root/libjava/configure
diff options
context:
space:
mode:
authorJack Howarth <howarth@bromo.med.uc.edu>2011-06-18 15:06:26 +0000
committerMike Stump <mrs@gcc.gnu.org>2011-06-18 15:06:26 +0000
commitffe5104599c7a16adff14cf4c8f7238cd1799da0 (patch)
tree498a178bbecf1859133d3d2826807de9b1a24852 /libjava/configure
parent0c5872608851080c66fd5b9a0b6d940148c6902d (diff)
downloadgcc-ffe5104599c7a16adff14cf4c8f7238cd1799da0.zip
gcc-ffe5104599c7a16adff14cf4c8f7238cd1799da0.tar.gz
gcc-ffe5104599c7a16adff14cf4c8f7238cd1799da0.tar.bz2
re PR target/49461 (boehm-gc and gcj incompatible with pie)
PR target/49461 * libjava/configure.ac (SYSTEMSPEC): Pass -no_pie for darwin11. * libjava/configure: Regenerate. From-SVN: r175182
Diffstat (limited to 'libjava/configure')
-rwxr-xr-xlibjava/configure7
1 files changed, 6 insertions, 1 deletions
diff --git a/libjava/configure b/libjava/configure
index 01e5bf0..4c3ab55 100755
--- a/libjava/configure
+++ b/libjava/configure
@@ -19788,9 +19788,14 @@ case "${host}" in
SYSTEMSPEC="-lunicows $SYSTEMSPEC"
fi
;;
- *-*-darwin[912]*)
+ *-*-darwin9*)
SYSTEMSPEC="%{!Zdynamiclib:%{!Zbundle:-allow_stack_execute}}"
;;
+ *-*-darwin[12]*)
+ # Something is incompatible with pie, would be nice to fix it and
+ # remove -no_pie. PR49461
+ SYSTEMSPEC="-no_pie %{!Zdynamiclib:%{!Zbundle:-allow_stack_execute}}"
+ ;;
*)
SYSTEMSPEC=
;;