Commit db50fe7d by Iain Sandoe

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
parent 5c0f24d0
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> 2010-09-15 Tejas Belagod <tejas.belagod@arm.com>
* MAINTAINERS (Write After Approval): Add myself. * MAINTAINERS (Write After Approval): Add myself.
......
...@@ -6676,13 +6676,13 @@ else ...@@ -6676,13 +6676,13 @@ else
*) enable_lto=no ;; *) enable_lto=no ;;
esac esac
else else
# Apart from ELF platforms, only Windows supports LTO so far. It # Apart from ELF platforms, only Windows and Darwin support LTO so far.
# would also be nice to check the binutils support, but we don't # 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 # have gcc_GAS_CHECK_FEATURE available here. For now, we'll just
# warn during gcc/ subconfigure; unless you're bootstrapping with # warn during gcc/ subconfigure; unless you're bootstrapping with
# -flto it won't be needed until after installation anyway. # -flto it won't be needed until after installation anyway.
case $target in case $target in
*-cygwin*|*-mingw*) ;; *-cygwin*|*-mingw* | *-apple-darwin*) ;;
*) if test x"$enable_lto" = x"yes"; then *) if test x"$enable_lto" = x"yes"; then
as_fn_error "LTO support is not enabled for this target." "$LINENO" 5 as_fn_error "LTO support is not enabled for this target." "$LINENO" 5
fi fi
......
...@@ -1793,13 +1793,13 @@ fi],[if test x"$default_enable_lto" = x"yes" ; then ...@@ -1793,13 +1793,13 @@ fi],[if test x"$default_enable_lto" = x"yes" ; then
*) enable_lto=no ;; *) enable_lto=no ;;
esac esac
else else
# Apart from ELF platforms, only Windows supports LTO so far. It # Apart from ELF platforms, only Windows and Darwin support LTO so far.
# would also be nice to check the binutils support, but we don't # 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 # have gcc_GAS_CHECK_FEATURE available here. For now, we'll just
# warn during gcc/ subconfigure; unless you're bootstrapping with # warn during gcc/ subconfigure; unless you're bootstrapping with
# -flto it won't be needed until after installation anyway. # -flto it won't be needed until after installation anyway.
case $target in case $target in
*-cygwin*|*-mingw*) ;; *-cygwin*|*-mingw* | *-apple-darwin*) ;;
*) if test x"$enable_lto" = x"yes"; then *) if test x"$enable_lto" = x"yes"; then
AC_MSG_ERROR([LTO support is not enabled for this target.]) AC_MSG_ERROR([LTO support is not enabled for this target.])
fi fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment