From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1593979-garchives=archives.gentoo.org@lists.gentoo.org> 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 59D8015838C for <garchives@archives.gentoo.org>; Wed, 24 Jan 2024 06:55:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 07A2FE2ADA; Wed, 24 Jan 2024 06:55:06 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CF42BE2AD9 for <gentoo-commits@lists.gentoo.org>; Wed, 24 Jan 2024 06:55:05 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C08093433A9 for <gentoo-commits@lists.gentoo.org>; Wed, 24 Jan 2024 06:55:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 25A2D13AA for <gentoo-commits@lists.gentoo.org>; Wed, 24 Jan 2024 06:55:03 +0000 (UTC) From: "Sam James" <sam@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" <sam@gentoo.org> Message-ID: <1706079278.b11c7460abd9916be76f8831466d5cc63bd079bf.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/xfsprogs/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-fs/xfsprogs/xfsprogs-6.3.0.ebuild sys-fs/xfsprogs/xfsprogs-6.4.0.ebuild sys-fs/xfsprogs/xfsprogs-6.5.0.ebuild X-VCS-Directories: sys-fs/xfsprogs/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: b11c7460abd9916be76f8831466d5cc63bd079bf X-VCS-Branch: master Date: Wed, 24 Jan 2024 06:55:03 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: f3361e3b-597f-49e0-a456-d7e65f63c928 X-Archives-Hash: 71bd0a2530ddc6a78a0d4239134577cc commit: b11c7460abd9916be76f8831466d5cc63bd079bf Author: Eli Schwartz <eschwartz93 <AT> gmail <DOT> com> AuthorDate: Thu Jan 18 21:53:57 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Wed Jan 24 06:54:38 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b11c7460 sys-fs/xfsprogs: migrate checking for enabled lto, to tc-is-lto This toolchain func was recently added, and is a lot more reliable than get-flagq, for example if the active flags contain `-flto -fno-lto` then tc-is-lto gets it correct. We would rather use this wherever possible. Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com> Signed-off-by: Sam James <sam <AT> gentoo.org> sys-fs/xfsprogs/xfsprogs-6.3.0.ebuild | 6 +++--- sys-fs/xfsprogs/xfsprogs-6.4.0.ebuild | 6 +++--- sys-fs/xfsprogs/xfsprogs-6.5.0.ebuild | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/sys-fs/xfsprogs/xfsprogs-6.3.0.ebuild b/sys-fs/xfsprogs/xfsprogs-6.3.0.ebuild index 412d486c3314..b59bbeb5ee65 100644 --- a/sys-fs/xfsprogs/xfsprogs-6.3.0.ebuild +++ b/sys-fs/xfsprogs/xfsprogs-6.3.0.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit flag-o-matic systemd usr-ldscript +inherit flag-o-matic systemd usr-ldscript toolchain-funcs DESCRIPTION="XFS filesystem utilities" HOMEPAGE="https://xfs.wiki.kernel.org/ https://git.kernel.org/pub/scm/fs/xfs/xfsprogs-dev.git/" @@ -75,7 +75,7 @@ src_configure() { $(use_enable libedit editline) ) - if is-flagq -flto ; then + if tc-is-lto ; then myconf+=( --enable-lto ) else myconf+=( --disable-lto ) diff --git a/sys-fs/xfsprogs/xfsprogs-6.4.0.ebuild b/sys-fs/xfsprogs/xfsprogs-6.4.0.ebuild index afc21c0b6d8c..5ee0fb214a0e 100644 --- a/sys-fs/xfsprogs/xfsprogs-6.4.0.ebuild +++ b/sys-fs/xfsprogs/xfsprogs-6.4.0.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit flag-o-matic systemd usr-ldscript +inherit flag-o-matic systemd usr-ldscript toolchain-funcs DESCRIPTION="XFS filesystem utilities" HOMEPAGE="https://xfs.wiki.kernel.org/ https://git.kernel.org/pub/scm/fs/xfs/xfsprogs-dev.git/" @@ -76,7 +76,7 @@ src_configure() { $(use_enable libedit editline) ) - if is-flagq -flto ; then + if tc-is-lto ; then myconf+=( --enable-lto ) else myconf+=( --disable-lto ) diff --git a/sys-fs/xfsprogs/xfsprogs-6.5.0.ebuild b/sys-fs/xfsprogs/xfsprogs-6.5.0.ebuild index ab3847406679..a450486a8f38 100644 --- a/sys-fs/xfsprogs/xfsprogs-6.5.0.ebuild +++ b/sys-fs/xfsprogs/xfsprogs-6.5.0.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit flag-o-matic systemd udev usr-ldscript +inherit flag-o-matic systemd udev usr-ldscript toolchain-funcs DESCRIPTION="XFS filesystem utilities" HOMEPAGE="https://xfs.wiki.kernel.org/ https://git.kernel.org/pub/scm/fs/xfs/xfsprogs-dev.git/" @@ -77,7 +77,7 @@ src_configure() { $(use_enable libedit editline) ) - if is-flagq -flto ; then + if tc-is-lto ; then myconf+=( --enable-lto ) else myconf+=( --disable-lto )