Merge from GCC:

2011-04-18  Jack Howarth  <howarth@bromo.med.uc.edu>

	PR lto/48086
	* configure.ac: Re-enable LTO on *-apple-darwin9*.
	* configure: Regenerate.
This commit is contained in:
Joseph Myers 2011-04-28 13:26:23 +00:00
parent 4819e64bb8
commit 72a19a697e
3 changed files with 12 additions and 2 deletions

View File

@ -1,3 +1,13 @@
2011-04-28 Joseph Myers <joseph@codesourcery.com>
Merge from GCC:
2011-04-18 Jack Howarth <howarth@bromo.med.uc.edu>
PR lto/48086
* configure.ac: Re-enable LTO on *-apple-darwin9*.
* configure: Regenerate.
2011-04-28 Joseph Myers <joseph@codesourcery.com> 2011-04-28 Joseph Myers <joseph@codesourcery.com>
* configure.ac: Separate cases disabling Java and Java libraries * configure.ac: Separate cases disabling Java and Java libraries

2
configure vendored
View File

@ -6206,7 +6206,7 @@ if test $target_elf = yes; then :
else else
if test x"$default_enable_lto" = x"yes" ; then if test x"$default_enable_lto" = x"yes" ; then
case $target in case $target in
*-apple-darwin9 | *-cygwin* | *-mingw*) ;; *-apple-darwin9* | *-cygwin* | *-mingw*) ;;
# On other non-ELF platforms, LTO has yet to be validated. # On other non-ELF platforms, LTO has yet to be validated.
*) enable_lto=no ;; *) enable_lto=no ;;
esac esac

View File

@ -1744,7 +1744,7 @@ ACX_ELF_TARGET_IFELSE([# ELF platforms build the lto-plugin always.
build_lto_plugin=yes build_lto_plugin=yes
],[if test x"$default_enable_lto" = x"yes" ; then ],[if test x"$default_enable_lto" = x"yes" ; then
case $target in case $target in
*-apple-darwin9 | *-cygwin* | *-mingw*) ;; *-apple-darwin9* | *-cygwin* | *-mingw*) ;;
# On other non-ELF platforms, LTO has yet to be validated. # On other non-ELF platforms, LTO has yet to be validated.
*) enable_lto=no ;; *) enable_lto=no ;;
esac esac