aboutsummaryrefslogtreecommitdiff
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
parent5c0f24d0db7da7f83f2dc5d8dc8700d08b8c9e7c (diff)
downloadgcc-db50fe7da0184de8913f0ef2b1fdc29271674f51.zip
gcc-db50fe7da0184de8913f0ef2b1fdc29271674f51.tar.gz
gcc-db50fe7da0184de8913f0ef2b1fdc29271674f51.tar.bz2
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
-rw-r--r--ChangeLog6
-rwxr-xr-xconfigure6
-rw-r--r--configure.ac6
3 files changed, 12 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index 683541c..7e62471 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2010-09-21 Iain Sandoe <iains@gcc.gnu.org>
+
+ * configure.ac (enable-lto): Add Darwin to the list of supported lto
+ targets and amend comment.
+ * configure: Regenerate.
+
2010-09-15 Tejas Belagod <tejas.belagod@arm.com>
* MAINTAINERS (Write After Approval): Add myself.
diff --git a/configure b/configure
index 631ae65..9e39867 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
diff --git a/configure.ac b/configure.ac
index 66df1d1..67e79fe 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