Commit deeba76a by Francois-Xavier Coudert Committed by François-Xavier Coudert

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

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

From-SVN: r246396
parent e0701ef0
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,
......
...@@ -6045,7 +6045,7 @@ if test $target_elf = yes; then : ...@@ -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
......
...@@ -1727,7 +1727,7 @@ ACX_ELF_TARGET_IFELSE([# ELF platforms build the lto-plugin always. ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment