aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorIain Sandoe <iains@gcc.gnu.org>2010-09-21 14:32:36 +0000
committerIain Sandoe <iains@gcc.gnu.org>2010-09-21 14:32:36 +0000
commitdb50fe7da0184de8913f0ef2b1fdc29271674f51 (patch)
tree1c57b94e97be74d11ac3674adbdd6fda20f3a48f /configure
parent5c0f24d0db7da7f83f2dc5d8dc8700d08b8c9e7c (diff)
configure.ac (enable-lto): Add Darwin to the list of supported lto targets and amend comment.
* configure.ac (enable-lto): Add Darwin to the list of supported lto targets and amend comment. * configure: Regenerate. From-SVN: r164481
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure b/configure
index 631ae657aab..9e398677fdc 100755
--- a/configure
+++ b/configure
@@ -6676,13 +6676,13 @@ else
*) 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
as_fn_error "LTO support is not enabled for this target." "$LINENO" 5
fi