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 5708515803E for ; Wed, 3 Jan 2024 10:44:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9E4E62BC031; Wed, 3 Jan 2024 10:44:35 +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 82F192BC028 for ; Wed, 3 Jan 2024 10:44:35 +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 9C436340906 for ; Wed, 3 Jan 2024 10:44:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3261F1339 for ; Wed, 3 Jan 2024 10:44:33 +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: <1704278508.c39ad19b66bbfb45c5ff0226e8b6b13f861e306a.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/ X-VCS-Repository: repo/gentoo X-VCS-Files: eclass/qt5-build.eclass X-VCS-Directories: eclass/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: c39ad19b66bbfb45c5ff0226e8b6b13f861e306a X-VCS-Branch: master Date: Wed, 3 Jan 2024 10:44:33 +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: 45231926-dc2d-4b88-b1b2-04396dc32168 X-Archives-Hash: 5ff1b4b28d523bf573edb1a4c04119ee commit: c39ad19b66bbfb45c5ff0226e8b6b13f861e306a Author: Sam James gentoo org> AuthorDate: Wed Jan 3 10:41:48 2024 +0000 Commit: Sam James gentoo org> CommitDate: Wed Jan 3 10:41:48 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c39ad19b qt5-build.eclass: use test-flags-CCLD for -Wl,--undefined-version Signed-off-by: Sam James gentoo.org> eclass/qt5-build.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/qt5-build.eclass b/eclass/qt5-build.eclass index 0cb64f3010ea..0e416e253cc2 100644 --- a/eclass/qt5-build.eclass +++ b/eclass/qt5-build.eclass @@ -233,8 +233,8 @@ qt5-build_src_configure() { # Workaround for bug #915203 # Upstream: https://bugreports.qt.io/browse/QTBUG-111514 - if [[ ${PN} != qtcore ]] && tc-ld-is-lld ; then - append-ldflags -Wl,--undefined-version + if [[ ${PN} != qtcore ]] ; then + append-ldflags $(test-flags-CCLD -Wl,--undefined-version) fi # many bugs, no one to fix