OSDN Git Service

* configure.ac: Set SYSTEMSPEC so that -allow_stack_execute is not
authorpogma <pogma@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 10 Jun 2010 23:35:31 +0000 (23:35 +0000)
committerpogma <pogma@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 10 Jun 2010 23:35:31 +0000 (23:35 +0000)
passed to the linker for -dynamiclib or -bundle on darwin.
* configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@160583 138bc75d-0d04-0410-961f-82ee72b054a4

libjava/ChangeLog
libjava/configure
libjava/configure.ac

index 55d384b..f90cd35 100644 (file)
@@ -1,3 +1,9 @@
+2010-06-10  Peter O'Gorman  <peter@pogma.com>
+
+       * configure.ac: Set SYSTEMSPEC so that -allow_stack_execute is not
+       passed to the linker for -dynamiclib or -bundle on darwin.
+       * configure: Regenerate. 
+
 2010-06-09  Iain Sandoe  <iains@gcc.gnu.org>
 
        PR bootstrap/43170
index c204809..7ca3dcf 100755 (executable)
@@ -19761,7 +19761,7 @@ case "${host}" in
       fi
     ;;
     *-*-darwin[912]*)
-      SYSTEMSPEC="-allow_stack_execute"
+      SYSTEMSPEC="%{!Zdynamiclib:%{!Zbundle:-allow_stack_execute}}"
     ;;
     *)
       SYSTEMSPEC=
index a359afe..f21ae91 100644 (file)
@@ -883,7 +883,7 @@ case "${host}" in
       fi
     ;;
     *-*-darwin[[912]]*)
-      SYSTEMSPEC="-allow_stack_execute"
+      SYSTEMSPEC="%{!Zdynamiclib:%{!Zbundle:-allow_stack_execute}}"
     ;;
     *)
       SYSTEMSPEC=