From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 65551 invoked by alias); 5 Dec 2015 17:25:30 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 65537 invoked by uid 89); 5 Dec 2015 17:25:29 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=3.6 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW,URIBL_BLACK autolearn=no version=3.3.2 X-HELO: wmh1.mail.saunalahti.fi Received: from wmh1.mail.saunalahti.fi (HELO wmh1.mail.saunalahti.fi) (62.142.5.133) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Sat, 05 Dec 2015 17:25:28 +0000 Received: from ap.localhost.localdomain (dsl-espbrasgw1-54f9db-59.dhcp.inet.fi [84.249.219.59]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: andris.pavenis@wippies.com) by wmh1.mail.saunalahti.fi (Postfix) with ESMTPSA id C98FB5F11A for ; Sat, 5 Dec 2015 19:25:24 +0200 (EET) To: GCC Patches From: Andris Pavenis Subject: [PATCH 6/6] [DJGPP] configure.ac: enable LTO Message-ID: <56631E04.5060609@wippies.com> Date: Sat, 05 Dec 2015 17:25:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------060201000705020108050605" X-IsSubscribed: yes X-SW-Source: 2015-12/txt/msg00656.txt.bz2 This is a multi-part message in MIME format. --------------060201000705020108050605 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-length: 168 Patch enables LTO support for DJGPP in top level configure.ac Andris 2015-12-05 Andris Pavenis * configure.ac: enable LTO for *-*-msdosdjgpp --------------060201000705020108050605 Content-Type: text/x-patch; name="0006-DJGPP-configure.ac-enable-LTO.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="0006-DJGPP-configure.ac-enable-LTO.patch" Content-length: 1283 >From 9df385353dd1f6c275e0ce9266ab4bbb3a80cd44 Mon Sep 17 00:00:00 2001 From: Andris Pavenis 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 --------------060201000705020108050605--