From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D074615803E for ; Wed, 3 Jan 2024 08:43:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1FEDF2BC028; Wed, 3 Jan 2024 08:43:56 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id F2C9C2BC028 for ; Wed, 3 Jan 2024 08:43:55 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EB09333EB78 for ; Wed, 3 Jan 2024 08:43:54 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 61A921300 for ; Wed, 3 Jan 2024 08:43:53 +0000 (UTC) From: "Miroslav Šulc" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Miroslav Šulc" Message-ID: <1704271417.4590f31ae7dabc26a98483768c051ea216f4466e.fordfrog@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/guitarix/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-sound/guitarix/guitarix-0.44.1.ebuild media-sound/guitarix/guitarix-9999.ebuild X-VCS-Directories: media-sound/guitarix/ X-VCS-Committer: fordfrog X-VCS-Committer-Name: Miroslav Šulc X-VCS-Revision: 4590f31ae7dabc26a98483768c051ea216f4466e X-VCS-Branch: master Date: Wed, 3 Jan 2024 08:43:53 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 49fa883a-a465-4657-8c18-90a10cc9850a X-Archives-Hash: da984a1d3f4b93226f8d24fc2354f8d9 commit: 4590f31ae7dabc26a98483768c051ea216f4466e Author: Alexander Tsoy tsoy me> AuthorDate: Tue Jan 2 00:17:49 2024 +0000 Commit: Miroslav Šulc gentoo org> CommitDate: Wed Jan 3 08:43:37 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4590f31a media-sound/guitarix: fix LTO build Pass --cxxflags to waf configure. This allows waf to do some magic and append -ffat-lto-objects to CXXFLAGS. Also unexport CXXFLAGS and LDFLAGS before waf configure to prevent duplicating flags. Closes: https://bugs.gentoo.org/860861 Signed-off-by: Alexander Tsoy tsoy.me> Closes: https://github.com/gentoo/gentoo/pull/34597 Signed-off-by: Miroslav Šulc gentoo.org> media-sound/guitarix/guitarix-0.44.1.ebuild | 5 ++++- media-sound/guitarix/guitarix-9999.ebuild | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/media-sound/guitarix/guitarix-0.44.1.ebuild b/media-sound/guitarix/guitarix-0.44.1.ebuild index 14885014cd74..60b76beb379f 100644 --- a/media-sound/guitarix/guitarix-0.44.1.ebuild +++ b/media-sound/guitarix/guitarix-0.44.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2019-2023 Gentoo Authors +# Copyright 2019-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -69,7 +69,10 @@ PATCHES=( ) src_configure() { + export -n {CXX,LD}FLAGS + local myconf=( + --cxxflags="${CXXFLAGS}" --cxxflags-debug="" --cxxflags-release="-DNDEBUG" --ldflags="${LDFLAGS}" diff --git a/media-sound/guitarix/guitarix-9999.ebuild b/media-sound/guitarix/guitarix-9999.ebuild index 0f1305ac3816..ed2429d53f6d 100644 --- a/media-sound/guitarix/guitarix-9999.ebuild +++ b/media-sound/guitarix/guitarix-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 2019-2023 Gentoo Authors +# Copyright 2019-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -66,7 +66,10 @@ BDEPEND=" DOCS=( changelog README ) src_configure() { + export -n {CXX,LD}FLAGS + local myconf=( + --cxxflags="${CXXFLAGS}" --cxxflags-debug="" --cxxflags-release="-DNDEBUG" --ldflags="${LDFLAGS}"