From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1570128-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 62DD115814C
	for <garchives@archives.gentoo.org>; Mon, 13 Nov 2023 03:28:41 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id D33362BC013;
	Mon, 13 Nov 2023 03:28:39 +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 A0BED2BC013
	for <gentoo-commits@lists.gentoo.org>; Mon, 13 Nov 2023 03:28:39 +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 71A47335D74
	for <gentoo-commits@lists.gentoo.org>; Mon, 13 Nov 2023 03:28:38 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 86935132E
	for <gentoo-commits@lists.gentoo.org>; Mon, 13 Nov 2023 03:28:36 +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: <1699842460.cc039c0c2365fd938bdd755f1f3afa1c7d49643c.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/mold/
X-VCS-Repository: repo/gentoo
X-VCS-Files: sys-devel/mold/mold-2.3.2-r1.ebuild sys-devel/mold/mold-9999.ebuild
X-VCS-Directories: sys-devel/mold/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: cc039c0c2365fd938bdd755f1f3afa1c7d49643c
X-VCS-Branch: master
Date: Mon, 13 Nov 2023 03:28:36 +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: fb1046b7-a55c-4198-bcd6-811d27f129ca
X-Archives-Hash: c01560a0f0e601cf3f077278631e7633

commit:     cc039c0c2365fd938bdd755f1f3afa1c7d49643c
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 13 02:27:39 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Nov 13 02:27:40 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc039c0c

sys-devel/mold: use dosym -r, sync live

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-devel/mold/mold-2.3.2-r1.ebuild | 2 +-
 sys-devel/mold/mold-9999.ebuild     | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/sys-devel/mold/mold-2.3.2-r1.ebuild b/sys-devel/mold/mold-2.3.2-r1.ebuild
index 26a184843d8c..1ff59907edb2 100644
--- a/sys-devel/mold/mold-2.3.2-r1.ebuild
+++ b/sys-devel/mold/mold-2.3.2-r1.ebuild
@@ -92,5 +92,5 @@ src_install() {
 
 	dosym ${PN} /usr/bin/ld.${PN}
 	dosym ${PN} /usr/bin/ld64.${PN}
-	dosym ../../../usr/bin/${PN} /usr/libexec/${PN}/ld
+	dosym -r /usr/bin/${PN} /usr/libexec/${PN}/ld
 }

diff --git a/sys-devel/mold/mold-9999.ebuild b/sys-devel/mold/mold-9999.ebuild
index f16aabe0758e..f602c3b96e96 100644
--- a/sys-devel/mold/mold-9999.ebuild
+++ b/sys-devel/mold/mold-9999.ebuild
@@ -72,6 +72,7 @@ src_configure() {
 		-DCMAKE_DISABLE_PRECOMPILE_HEADERS=ON
 		-DMOLD_ENABLE_QEMU_TESTS=OFF
 		-DMOLD_LTO=OFF # Should be up to the user to decide this with CXXFLAGS.
+		-DMOLD_USE_MIMALLOC=$(usex !kernel_Darwin)
 		-DMOLD_USE_SYSTEM_MIMALLOC=ON
 		-DMOLD_USE_SYSTEM_TBB=ON
 	)
@@ -90,5 +91,5 @@ src_install() {
 
 	dosym ${PN} /usr/bin/ld.${PN}
 	dosym ${PN} /usr/bin/ld64.${PN}
-	dosym ../../../usr/bin/${PN} /usr/libexec/${PN}/ld
+	dosym -r /usr/bin/${PN} /usr/libexec/${PN}/ld
 }