From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1477375-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 39A3B15800F for <garchives@archives.gentoo.org>; Sat, 14 Jan 2023 19:17:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 43F03E08ED; Sat, 14 Jan 2023 19:17:33 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 E3E2BE08F2 for <gentoo-commits@lists.gentoo.org>; 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 D46C4340EDF for <gentoo-commits@lists.gentoo.org>; Sat, 14 Jan 2023 19:17:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3DD90888 for <gentoo-commits@lists.gentoo.org>; Sat, 14 Jan 2023 19:17:29 +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: <1673723678.5957215571383490d2799238d2ce7e50349b1371.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libgcrypt/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/libgcrypt/libgcrypt-1.10.1-r2.ebuild dev-libs/libgcrypt/libgcrypt-1.10.1-r3.ebuild dev-libs/libgcrypt/libgcrypt-1.9.4-r2.ebuild X-VCS-Directories: dev-libs/libgcrypt/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 5957215571383490d2799238d2ce7e50349b1371 X-VCS-Branch: master Date: Sat, 14 Jan 2023 19:17:29 +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: cbaa7152-a6e9-4889-8c23-e1a80bf98edc X-Archives-Hash: b7039f0eeb304c46dabf4fa39a2c0c6f commit: 5957215571383490d2799238d2ce7e50349b1371 Author: WANG Xuerui <xen0n <AT> gentoo <DOT> org> AuthorDate: Sat Jan 14 06:32:49 2023 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sat Jan 14 19:14:38 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59572155 dev-libs/libgcrypt: fix build with lld-16 Signed-off-by: WANG Xuerui <xen0n <AT> gentoo.org> Signed-off-by: Sam James <sam <AT> gentoo.org> dev-libs/libgcrypt/libgcrypt-1.10.1-r2.ebuild | 9 ++++++++- dev-libs/libgcrypt/libgcrypt-1.10.1-r3.ebuild | 9 ++++++++- dev-libs/libgcrypt/libgcrypt-1.9.4-r2.ebuild | 9 ++++++++- 3 files changed, 24 insertions(+), 3 deletions(-) diff --git a/dev-libs/libgcrypt/libgcrypt-1.10.1-r2.ebuild b/dev-libs/libgcrypt/libgcrypt-1.10.1-r2.ebuild index 5614f817ecb3..fdaaf606e1e9 100644 --- a/dev-libs/libgcrypt/libgcrypt-1.10.1-r2.ebuild +++ b/dev-libs/libgcrypt/libgcrypt-1.10.1-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -105,6 +105,13 @@ multilib_src_configure() { append-flags -fno-tree-loop-vectorize fi + # 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=( CC_FOR_BUILD="$(tc-getBUILD_CC)" diff --git a/dev-libs/libgcrypt/libgcrypt-1.10.1-r3.ebuild b/dev-libs/libgcrypt/libgcrypt-1.10.1-r3.ebuild index aaa53b979288..38cdf50ad91f 100644 --- a/dev-libs/libgcrypt/libgcrypt-1.10.1-r3.ebuild +++ b/dev-libs/libgcrypt/libgcrypt-1.10.1-r3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -106,6 +106,13 @@ multilib_src_configure() { append-flags -fno-tree-loop-vectorize fi + # 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=( CC_FOR_BUILD="$(tc-getBUILD_CC)" diff --git a/dev-libs/libgcrypt/libgcrypt-1.9.4-r2.ebuild b/dev-libs/libgcrypt/libgcrypt-1.9.4-r2.ebuild index c7a2a6fe71fc..d164dfc4b237 100644 --- a/dev-libs/libgcrypt/libgcrypt-1.9.4-r2.ebuild +++ b/dev-libs/libgcrypt/libgcrypt-1.9.4-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -78,6 +78,13 @@ multilib_src_configure() { append-flags -fno-tree-loop-vectorize fi + # 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=( CC_FOR_BUILD="$(tc-getBUILD_CC)"