aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancois-Xavier Coudert <fxcoudert@gcc.gnu.org>2017-03-22 17:51:18 +0000
committerFrançois-Xavier Coudert <fxcoudert@gcc.gnu.org>2017-03-22 17:51:18 +0000
commitdeeba76acc92e46a326c7d88be80e59a1fd797c8 (patch)
treeb686daf8920fe4858cebf50318c10a065d89880f
parente0701ef04266fa742bd3c7ced44b3195e32f146e (diff)
downloadgcc-deeba76acc92e46a326c7d88be80e59a1fd797c8.zip
gcc-deeba76acc92e46a326c7d88be80e59a1fd797c8.tar.gz
gcc-deeba76acc92e46a326c7d88be80e59a1fd797c8.tar.bz2
configure.ac: Enable LTO by default on darwin >= 9.
* configure.ac: Enable LTO by default on darwin >= 9. * configure: Regenerate. From-SVN: r246396
-rw-r--r--ChangeLog5
-rwxr-xr-xconfigure2
-rw-r--r--configure.ac2
3 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index cd162d7..11217fd 100644
--- 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,
diff --git a/configure b/configure
index 3ff18d3..32a3863 100755
--- 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
diff --git a/configure.ac b/configure.ac
index 6192bb7..1237749 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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