aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorFrancois-Xavier Coudert <fxcoudert@gcc.gnu.org>2017-03-22 17:51:18 +0000
committerFrancois-Xavier Coudert <fxcoudert@gcc.gnu.org>2017-03-22 17:51:18 +0000
commitee65d438e0b3c3e21deb9fc9c82c1b510c242551 (patch)
treeb686daf8920fe4858cebf50318c10a065d89880f /configure.ac
parent04d2e17e02d39b65a846dca50d4b27e9b8d4e6d4 (diff)
* configure.ac: Enable LTO by default on darwin >= 9.
* configure: Regenerate. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@246396 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 6192bb7b7db..12377499295 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