mirror of git://gcc.gnu.org/git/gcc.git
configure.ac: Enable LTO by default on Darwin.
2010-09-03 Jack Howarth <howarth@bromo.med.uc.edu> * configure.ac: Enable LTO by default on Darwin. * configure: Regenerate. From-SVN: r163839
This commit is contained in:
parent
65a9ca823e
commit
bb79486c55
|
@ -1,10 +1,15 @@
|
||||||
|
2010-09-03 Jack Howarth <howarth@bromo.med.uc.edu>
|
||||||
|
|
||||||
|
* configure.ac: Enable LTO by default on Darwin.
|
||||||
|
* configure: Regenerate.
|
||||||
|
|
||||||
2010-09-02 Marcus Shawcroft <marcus.shawcroft@arm.com>
|
2010-09-02 Marcus Shawcroft <marcus.shawcroft@arm.com>
|
||||||
|
|
||||||
* MAINTAINERS (Write After Approval): Add myself.
|
* MAINTAINERS (Write After Approval): Add myself.
|
||||||
|
|
||||||
2010-09-01 Ian Bolton <ian.bolton@arm.com>
|
2010-09-01 Ian Bolton <ian.bolton@arm.com>
|
||||||
|
|
||||||
* MAINTAINERS (Write After Approval): Add myself.
|
* MAINTAINERS (Write After Approval): Add myself.
|
||||||
|
|
||||||
2010-08-25 Danny Smith <dannysmith@users.sourceforge.net>
|
2010-08-25 Danny Smith <dannysmith@users.sourceforge.net>
|
||||||
|
|
||||||
|
|
|
@ -6670,8 +6670,11 @@ to specify its location." "$LINENO" 5
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
if test x"$default_enable_lto" = x"yes" ; then
|
if test x"$default_enable_lto" = x"yes" ; then
|
||||||
# On non-ELF platforms, LTO must be explicitly enabled.
|
case $target in
|
||||||
enable_lto=no
|
*-apple-darwin*) ;;
|
||||||
|
# On other non-ELF platforms, LTO must be explicitly enabled.
|
||||||
|
*) enable_lto=no ;;
|
||||||
|
esac
|
||||||
else
|
else
|
||||||
# Apart from ELF platforms, only Windows supports LTO so far. It
|
# Apart from ELF platforms, only Windows supports LTO so far. It
|
||||||
# would also be nice to check the binutils support, but we don't
|
# would also be nice to check the binutils support, but we don't
|
||||||
|
@ -6680,7 +6683,6 @@ else
|
||||||
# -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
|
||||||
|
|
|
@ -1787,8 +1787,11 @@ to specify its location.])
|
||||||
AC_SUBST(libelflibs)
|
AC_SUBST(libelflibs)
|
||||||
AC_SUBST(libelfinc)
|
AC_SUBST(libelfinc)
|
||||||
fi],[if test x"$default_enable_lto" = x"yes" ; then
|
fi],[if test x"$default_enable_lto" = x"yes" ; then
|
||||||
# On non-ELF platforms, LTO must be explicitly enabled.
|
case $target in
|
||||||
enable_lto=no
|
*-apple-darwin*) ;;
|
||||||
|
# On other non-ELF platforms, LTO must be explicitly enabled.
|
||||||
|
*) enable_lto=no ;;
|
||||||
|
esac
|
||||||
else
|
else
|
||||||
# Apart from ELF platforms, only Windows supports LTO so far. It
|
# Apart from ELF platforms, only Windows supports LTO so far. It
|
||||||
# would also be nice to check the binutils support, but we don't
|
# would also be nice to check the binutils support, but we don't
|
||||||
|
@ -1797,7 +1800,6 @@ fi],[if test x"$default_enable_lto" = x"yes" ; then
|
||||||
# -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
|
||||||
|
|
Loading…
Reference in New Issue