aboutsummaryrefslogtreecommitdiff
path: root/libjava/configure
diff options
context:
space:
mode:
authorPeter O'Gorman <peter@pogma.com>2010-06-10 23:35:31 +0000
committerPeter O'Gorman <pogma@gcc.gnu.org>2010-06-10 23:35:31 +0000
commitf8328d1d9a8139f8f2aed1e2e006edd8afa57dbb (patch)
tree6e147403ceb44901f5051030f773fd47e911b4e5 /libjava/configure
parent0fe60a1bfab511269b85fcd36e87076708fd2a31 (diff)
downloadgcc-f8328d1d9a8139f8f2aed1e2e006edd8afa57dbb.zip
gcc-f8328d1d9a8139f8f2aed1e2e006edd8afa57dbb.tar.gz
gcc-f8328d1d9a8139f8f2aed1e2e006edd8afa57dbb.tar.bz2
configure.ac: Set SYSTEMSPEC so that -allow_stack_execute is not passed to the linker for...
* configure.ac: Set SYSTEMSPEC so that -allow_stack_execute is not passed to the linker for -dynamiclib or -bundle on darwin. * configure: Regenerate. From-SVN: r160583
Diffstat (limited to 'libjava/configure')
-rwxr-xr-xlibjava/configure2
1 files changed, 1 insertions, 1 deletions
diff --git a/libjava/configure b/libjava/configure
index c204809..7ca3dcf 100755
--- a/libjava/configure
+++ b/libjava/configure
@@ -19761,7 +19761,7 @@ case "${host}" in
fi
;;
*-*-darwin[912]*)
- SYSTEMSPEC="-allow_stack_execute"
+ SYSTEMSPEC="%{!Zdynamiclib:%{!Zbundle:-allow_stack_execute}}"
;;
*)
SYSTEMSPEC=