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 E0C0315800F for ; Sat, 14 Jan 2023 19:17:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 41DE8E08E5; Sat, 14 Jan 2023 19:17:33 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 pigeon.gentoo.org (Postfix) with ESMTPS id E2778E08E5 for ; Sat, 14 Jan 2023 19:17:32 +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 D0D1D340ED8 for ; Sat, 14 Jan 2023 19:17:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2A780884 for ; Sat, 14 Jan 2023 19:17:29 +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: <1673723678.076d0d2bd835bbc0f21fb1b28dc5175ca59a86a2.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/libtirpc/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-libs/libtirpc/libtirpc-1.3.3.ebuild X-VCS-Directories: net-libs/libtirpc/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 076d0d2bd835bbc0f21fb1b28dc5175ca59a86a2 X-VCS-Branch: master Date: Sat, 14 Jan 2023 19:17:29 +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: 0c725c8e-dd77-49fc-a3a2-9127e1edba63 X-Archives-Hash: 4d059e07d914b3494d76d2118b1ffec0 commit: 076d0d2bd835bbc0f21fb1b28dc5175ca59a86a2 Author: WANG Xuerui gentoo org> AuthorDate: Sat Jan 14 06:31:23 2023 +0000 Commit: Sam James gentoo org> CommitDate: Sat Jan 14 19:14:38 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=076d0d2b net-libs/libtirpc: fix build with lld-16 Signed-off-by: WANG Xuerui gentoo.org> Signed-off-by: Sam James gentoo.org> net-libs/libtirpc/libtirpc-1.3.3.ebuild | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/net-libs/libtirpc/libtirpc-1.3.3.ebuild b/net-libs/libtirpc/libtirpc-1.3.3.ebuild index 46f43a6d7b8c..1533f24eee74 100644 --- a/net-libs/libtirpc/libtirpc-1.3.3.ebuild +++ b/net-libs/libtirpc/libtirpc-1.3.3.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit multilib-minimal usr-ldscript +inherit flag-o-matic multilib-minimal toolchain-funcs usr-ldscript DESCRIPTION="Transport Independent RPC library (SunRPC replacement)" HOMEPAGE="https://sourceforge.net/projects/libtirpc/ https://git.linux-nfs.org/?p=steved/libtirpc.git" @@ -33,6 +33,13 @@ src_prepare() { } multilib_src_configure() { + # ideally we want !tc-ld-is-bfd for best future-proofing, but it needs + # https://github.com/gentoo/gentoo/pull/28355 + # mold needs this too but right now tc-ld-is-mold is also not available + if tc-ld-is-lld; then + append-ldflags -Wl,--undefined-version + fi + local myeconfargs=( $(use_enable kerberos gssapi) $(use_enable static-libs static)