summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rwxr-xr-xconfigure2
-rw-r--r--configure.ac2
3 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index ab6a900c51f..3699c1bd6a3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2011-03-16 Jack Howarth <howarth@bromo.med.uc.edu>
+
+ PR lto/48086
+ * configure.ac: Re-enable LTO on *-apple-darwin9.
+ * configure: Regenerate.
+
2011-03-13 Jack Howarth <howarth@bromo.med.uc.edu>
PR lto/48086
diff --git a/configure b/configure
index 2a21f9f67b9..32f239ea4ed 100755
--- a/configure
+++ b/configure
@@ -6206,7 +6206,7 @@ if test $target_elf = yes; then :
else
if test x"$default_enable_lto" = x"yes" ; then
case $target in
- *-cygwin* | *-mingw*) ;;
+ *-apple-darwin9 | *-cygwin* | *-mingw*) ;;
# On other non-ELF platforms, LTO has yet to be validated.
*) enable_lto=no ;;
esac
diff --git a/configure.ac b/configure.ac
index 02eb78459ec..6b17b68dc0a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1743,7 +1743,7 @@ ACX_ELF_TARGET_IFELSE([# ELF platforms build the lto-plugin always.
build_lto_plugin=yes
],[if test x"$default_enable_lto" = x"yes" ; then
case $target in
- *-cygwin* | *-mingw*) ;;
+ *-apple-darwin9 | *-cygwin* | *-mingw*) ;;
# On other non-ELF platforms, LTO has yet to be validated.
*) enable_lto=no ;;
esac