configure.ac: Enable LTO by default on darwin >= 9.

* configure.ac: Enable LTO by default on darwin >= 9.
	* configure: Regenerate.

From-SVN: r246396
This commit is contained in:
Francois-Xavier Coudert 2017-03-22 17:51:18 +00:00 committed by François-Xavier Coudert
parent e0701ef042
commit deeba76acc
3 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2017-03-22 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
* configure.ac: Enable LTO by default on darwin >= 9.
* configure: Regenerate.
2017-03-20 Palmer Dabbelt <palmer@dabbelt.com> 2017-03-20 Palmer Dabbelt <palmer@dabbelt.com>
* MAINTAINERS (CPU Port Maintainers): Add Kito Cheng, Palmer Dabbelt, * MAINTAINERS (CPU Port Maintainers): Add Kito Cheng, Palmer Dabbelt,

2
configure vendored
View File

@ -6045,7 +6045,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* | *djgpp*) ;; *-apple-darwin[912]* | *-cygwin* | *-mingw* | *djgpp*) ;;
# 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

@ -1727,7 +1727,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* | *djgpp*) ;; *-apple-darwin[[912]]* | *-cygwin* | *-mingw* | *djgpp*) ;;
# 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