From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 831D3385DC06; Wed, 15 Apr 2020 07:03:26 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 831D3385DC06 From: "kloczko.tomasz at gmail dot com" To: elfutils-devel@sourceware.org Subject: [Bug general/24498] 0.176: isn't LTO ready Date: Wed, 15 Apr 2020 07:03:26 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: elfutils X-Bugzilla-Component: general X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kloczko.tomasz at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: elfutils-devel@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Elfutils-devel mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Apr 2020 07:03:26 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D24498 --- Comment #10 from kloczek --- > I would add a configure option --enable-lto that will append -flto to {C,= LD}FLAGS. Please don't do that. LTO can be driven using only env variable. % CFLAGS=3D"" LDFLAGS=3D"" ./configure Please use KISS principle and do not implement something which can be alrea= dy done other way *without* touching existing code. PS. Changing {C,LD}FLAGS is not only part of using LTO. You need to pass NM, RANLIB and AR env variables. --=20 You are receiving this mail because: You are on the CC list for the bug.=