OSDN Git Service

* configure.ac: Set SYSTEMSPEC so that -allow_stack_execute is not
[pf3gnuchains/gcc-fork.git] / libjava / configure.ac
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=