]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Enable LTO for DJGPP
authorAndris Pavenis <andris.pavenis@iki.fi>
Tue, 12 Jan 2016 18:36:00 +0000 (20:36 +0200)
committerAndris Pavenis <andris@gcc.gnu.org>
Tue, 12 Jan 2016 18:36:00 +0000 (20:36 +0200)
* configure.ac: enable LTO
* configure: Regenerate

From-SVN: r232290

ChangeLog
configure
configure.ac

index 4821c1f4f0cb68beae6561d8c682ba72e7894d63..d5355c60c5963a2b32a9ecc85a898da87e351bb9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2016-01-12  Andris Pavenis  <andris.pavenis@iki.fi>
+
+       * configure.ac: Enable LTO for DJGPP
+       * configure: Regenerate
+
 2016-01-12  H.J. Lu  <hongjiu.lu@intel.com>
 
        Sync with binutils-gdb:
index 19eb2a4a44ac2cff8984779be587ec9258c02331..cae337380473dc8606079680536ac885abf28997 100755 (executable)
--- a/configure
+++ b/configure
@@ -6127,7 +6127,7 @@ if test $target_elf = yes; then :
 else
   if test x"$default_enable_lto" = x"yes" ; then
     case $target in
-      *-apple-darwin9* | *-cygwin* | *-mingw*) ;;
+      *-apple-darwin9* | *-cygwin* | *-mingw* | *djgpp*) ;;
       # On other non-ELF platforms, LTO has yet to be validated.
       *) enable_lto=no ;;
     esac
@@ -6138,7 +6138,7 @@ else
   # warn during gcc/ subconfigure; unless you're bootstrapping with
   # -flto it won't be needed until after installation anyway.
     case $target in
-      *-cygwin* | *-mingw* | *-apple-darwin*) ;;
+      *-cygwin* | *-mingw* | *-apple-darwin* | *djgpp*) ;;
       *) if test x"$enable_lto" = x"yes"; then
        as_fn_error "LTO support is not enabled for this target." "$LINENO" 5
         fi
index 0ae53ace2b96b1190e66dfec15c1cd66aa819100..321b90896f080c50b6377fc7bf9d00b9b0e8d835 100644 (file)
@@ -1,6 +1,6 @@
 #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
 #   2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012,
-#   2014, 2015 Free Software Foundation, Inc.
+#   2014, 2015, 2016 Free Software Foundation, Inc.
 #
 # This file is free software; you can redistribute it and/or modify it
 # under the terms of the GNU General Public License as published by
@@ -1817,7 +1817,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
-      *-apple-darwin9* | *-cygwin* | *-mingw*) ;;
+      *-apple-darwin9* | *-cygwin* | *-mingw* | *djgpp*) ;;
       # On other non-ELF platforms, LTO has yet to be validated.
       *) enable_lto=no ;;
     esac
@@ -1828,7 +1828,7 @@ ACX_ELF_TARGET_IFELSE([# ELF platforms build the lto-plugin always.
   # warn during gcc/ subconfigure; unless you're bootstrapping with
   # -flto it won't be needed until after installation anyway.
     case $target in
-      *-cygwin* | *-mingw* | *-apple-darwin*) ;;
+      *-cygwin* | *-mingw* | *-apple-darwin* | *djgpp*) ;;
       *) if test x"$enable_lto" = x"yes"; then
        AC_MSG_ERROR([LTO support is not enabled for this target.])
         fi