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 <peter@pogma.com>2010-06-10 23:35:31 +0000
commitdbc0ae44177b48a7007f73fde8c8e367d9223f50 (patch)
tree6e147403ceb44901f5051030f773fd47e911b4e5 /libjava/configure
parent9f527f8666b1dfe2ed8b334e104d041659caabed (diff)
* configure.ac: Set SYSTEMSPEC so that -allow_stack_execute is not
passed to the linker for -dynamiclib or -bundle on darwin. * configure: Regenerate. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@160583 138bc75d-0d04-0410-961f-82ee72b054a4
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 c20480912da..7ca3dcfb5b3 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=