]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
configure.ac: Enable LTO by default on darwin >= 9.
authorFrancois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Wed, 22 Mar 2017 17:51:18 +0000 (17:51 +0000)
committerFrançois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Wed, 22 Mar 2017 17:51:18 +0000 (17:51 +0000)
* configure.ac: Enable LTO by default on darwin >= 9.
* configure: Regenerate.

From-SVN: r246396

ChangeLog
configure
configure.ac

index cd162d751a377fbd99c544b461c36771c692f527..11217fd1e0d635f4bbd5dee52d690d28f04c93d7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
 
        * MAINTAINERS (CPU Port Maintainers): Add Kito Cheng, Palmer Dabbelt,
index 3ff18d3105a5c8879a5c2e8a2e89356e554effa1..32a38633ad85543da0caf9bcac75636c2ce4ee44 100755 (executable)
--- a/configure
+++ b/configure
@@ -6045,7 +6045,7 @@ if test $target_elf = yes; then :
 else
   if test x"$default_enable_lto" = x"yes" ; then
     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.
       *) enable_lto=no ;;
     esac
index 6192bb7b7dbd1656f79830e9b539ea32ef061c8a..12377499295a94f5a4d4c145be5dae5c4d47edff 100644 (file)
@@ -1727,7 +1727,7 @@ ACX_ELF_TARGET_IFELSE([# ELF platforms build the lto-plugin always.
   build_lto_plugin=yes
 ],[if test x"$default_enable_lto" = x"yes" ; then
     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.
       *) enable_lto=no ;;
     esac