From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 finch.gentoo.org (Postfix) with ESMTPS id 76BCC1584AD for ; Wed, 07 May 2025 18:13:55 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (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) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 628F534327A for ; Wed, 07 May 2025 18:13:55 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id D277111047D; Wed, 07 May 2025 18:13:45 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 bobolink.gentoo.org (Postfix) with ESMTPS id CB78711047D for ; Wed, 07 May 2025 18:13:45 +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 62523342FB0 for ; Wed, 07 May 2025 18:13:45 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D00322837 for ; Wed, 07 May 2025 18:13:42 +0000 (UTC) From: "Sam James" 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" Message-ID: <1746641577.68761ce1b2d34632559affb532bcaf6bdd62efcd.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libbpf/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/libbpf/libbpf-1.5.0.ebuild dev-libs/libbpf/libbpf-9999.ebuild X-VCS-Directories: dev-libs/libbpf/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 68761ce1b2d34632559affb532bcaf6bdd62efcd X-VCS-Branch: master Date: Wed, 07 May 2025 18:13:42 +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: c35b6a06-24e8-44dc-b089-3ee13946f3fc X-Archives-Hash: f029a7544d480e0d4bc5e412f78a9945 commit: 68761ce1b2d34632559affb532bcaf6bdd62efcd Author: Sam James gentoo org> AuthorDate: Wed May 7 17:54:42 2025 +0000 Commit: Sam James gentoo org> CommitDate: Wed May 7 18:12:57 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68761ce1 dev-libs/libbpf: conditionally call lto-guarantee-fat When we have USE=static-libs and that controls all static library use, we can avoid adding -ffat-lto-objects for USE=-static-libs. Signed-off-by: Sam James gentoo.org> dev-libs/libbpf/libbpf-1.5.0.ebuild | 2 +- dev-libs/libbpf/libbpf-9999.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-libs/libbpf/libbpf-1.5.0.ebuild b/dev-libs/libbpf/libbpf-1.5.0.ebuild index 4d027f75b834..486aad647def 100644 --- a/dev-libs/libbpf/libbpf-1.5.0.ebuild +++ b/dev-libs/libbpf/libbpf-1.5.0.ebuild @@ -43,7 +43,7 @@ PATCHES=( src_configure() { append-cflags -fPIC tc-export CC AR PKG_CONFIG - lto-guarantee-fat + use static-libs && lto-guarantee-fat export LIBSUBDIR="$(get_libdir)" export PREFIX="${EPREFIX}/usr" export V=1 diff --git a/dev-libs/libbpf/libbpf-9999.ebuild b/dev-libs/libbpf/libbpf-9999.ebuild index fde463e6bc5d..a25a5e1cb807 100644 --- a/dev-libs/libbpf/libbpf-9999.ebuild +++ b/dev-libs/libbpf/libbpf-9999.ebuild @@ -43,7 +43,7 @@ PATCHES=( src_configure() { append-cflags -fPIC tc-export CC AR PKG_CONFIG - lto-guarantee-fat + use static-libs && lto-guarantee-fat export LIBSUBDIR="$(get_libdir)" export PREFIX="${EPREFIX}/usr" export V=1