diff options
author | iains <iains@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-09-21 14:32:36 +0000 |
---|---|---|
committer | iains <iains@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-09-21 14:32:36 +0000 |
commit | 62932e4dc2db82e1bdef5e2afbad33154bb8d5f2 (patch) | |
tree | 1c57b94e97be74d11ac3674adbdd6fda20f3a48f /configure.ac | |
parent | ca0ee6142c86aafb6c15c313bdf5146d9ce947bc (diff) | |
download | gcc-62932e4dc2db82e1bdef5e2afbad33154bb8d5f2.tar.gz |
* configure.ac (enable-lto): Add Darwin to the list of supported lto
targets and amend comment.
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@164481 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index 66df1d103b6..67e79fe144e 100644 --- a/configure.ac +++ b/configure.ac @@ -1793,13 +1793,13 @@ fi],[if test x"$default_enable_lto" = x"yes" ; then *) enable_lto=no ;; esac else - # Apart from ELF platforms, only Windows supports LTO so far. It - # would also be nice to check the binutils support, but we don't + # Apart from ELF platforms, only Windows and Darwin support LTO so far. + # It would also be nice to check the binutils support, but we don't # have gcc_GAS_CHECK_FEATURE available here. For now, we'll just # warn during gcc/ subconfigure; unless you're bootstrapping with # -flto it won't be needed until after installation anyway. case $target in - *-cygwin*|*-mingw*) ;; + *-cygwin*|*-mingw* | *-apple-darwin*) ;; *) if test x"$enable_lto" = x"yes"; then AC_MSG_ERROR([LTO support is not enabled for this target.]) fi |