Skip to content

Commit

Permalink
PR target/49461
Browse files Browse the repository at this point in the history
	* libjava/configure.ac (SYSTEMSPEC): Pass -no_pie for darwin11.
	* libjava/configure: Regenerate.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175182 138bc75d-0d04-0410-961f-82ee72b054a4
  • Loading branch information
mrs committed Jun 18, 2011
1 parent 36267cc commit ca969b0
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
6 changes: 6 additions & 0 deletions libjava/ChangeLog
@@ -1,3 +1,9 @@
2011-06-17 Jack Howarth <howarth@bromo.med.uc.edu>

PR target/49461
* libjava/configure.ac (SYSTEMSPEC): Pass -no_pie for darwin11.
* libjava/configure: Regenerate.

2011-06-17 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>

PR libgcj/49315
Expand Down
7 changes: 6 additions & 1 deletion libjava/configure
Expand Up @@ -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=
;;
Expand Down
7 changes: 6 additions & 1 deletion libjava/configure.ac
Expand Up @@ -898,9 +898,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=
;;
Expand Down

0 comments on commit ca969b0

Please sign in to comment.