diff mbox

[6/6,DJGPP] configure.ac: enable LTO

Message ID 56631E04.5060609@wippies.com
State New
Headers show

Commit Message

Andris Pavenis Dec. 5, 2015, 5:25 p.m. UTC
Patch enables LTO support for DJGPP in top level configure.ac

Andris

2015-12-05 Andris Pavenis <andris.pavenis@iki.fi>

* configure.ac: enable LTO for *-*-msdosdjgpp

Comments

Jeff Law Dec. 10, 2015, 10:32 p.m. UTC | #1
On 12/05/2015 10:25 AM, Andris Pavenis wrote:
> Patch enables LTO support for DJGPP in top level configure.ac
>
> Andris
>
> 2015-12-05 Andris Pavenis <andris.pavenis@iki.fi>
>
> * configure.ac: enable LTO for *-*-msdosdjgpp
OK once prereqs have gone in.  Note you should to the autoconf dance to 
update the generated files.  Mention them in your ChangeLog as
	* configure: Regenerated

jeff
diff mbox

Patch

From 9df385353dd1f6c275e0ce9266ab4bbb3a80cd44 Mon Sep 17 00:00:00 2001
From: Andris Pavenis <andris.pavenis@iki.fi>
Date: Sat, 14 Nov 2015 20:38:32 +0200
Subject: [PATCH 6/6] [DJGPP] configure.ac: enable LTO

---
 configure.ac | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index a6998ff..ee4fd23 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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
-- 
2.4.3