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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8DD41158041 for ; Tue, 20 Feb 2024 17:54:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A7E2A2BC013; Tue, 20 Feb 2024 17:54:22 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 896D42BC013 for ; Tue, 20 Feb 2024 17:54:22 +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 9D2EF3430F5 for ; Tue, 20 Feb 2024 17:54:21 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 059D4B2F for ; Tue, 20 Feb 2024 17:54:20 +0000 (UTC) From: "Horodniceanu Andrei" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Horodniceanu Andrei" Message-ID: <1708450575.967f6d8dbaf9b73e9e0911b7f6ab397c99dc42b9.a.horodniceanu@gentoo> Subject: [gentoo-commits] repo/user/dlang:master commit in: eclass/ X-VCS-Repository: repo/user/dlang X-VCS-Files: eclass/dmd.eclass X-VCS-Directories: eclass/ X-VCS-Committer: a.horodniceanu X-VCS-Committer-Name: Horodniceanu Andrei X-VCS-Revision: 967f6d8dbaf9b73e9e0911b7f6ab397c99dc42b9 X-VCS-Branch: master Date: Tue, 20 Feb 2024 17:54:20 +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: e07f7653-de5c-4acf-8606-04ef165ef4b6 X-Archives-Hash: 7ef7e198ab609f10d40121bdc0950100 commit: 967f6d8dbaf9b73e9e0911b7f6ab397c99dc42b9 Author: Horodniceanu Andrei proton me> AuthorDate: Tue Feb 20 17:32:31 2024 +0000 Commit: Horodniceanu Andrei proton me> CommitDate: Tue Feb 20 17:36:15 2024 +0000 URL: https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=967f6d8d dmd.eclass: Fix overwriting instead of appending to array. Signed-off-by: Horodniceanu Andrei proton.me> eclass/dmd.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/dmd.eclass b/eclass/dmd.eclass index fb57d19..9b4554a 100644 --- a/eclass/dmd.eclass +++ b/eclass/dmd.eclass @@ -231,7 +231,7 @@ dmd_src_compile() { # shared+static libraries with !static-libs. Do this only for # >=2.107, if it's useful backport the improvements later. if dmd_ge 2.107; then - phobosMakeArgs=( $(usex static-libs 'lib dll' 'dll') ) + phobosMakeArgs+=( $(usex static-libs 'lib dll' 'dll') ) # druntime's notion of a shared library is a static archive # that is embedded into the phobos shared library. # @@ -239,7 +239,7 @@ dmd_src_compile() { # so file but who's gonna use it? Perhaps if phobos would # not incorporate druntime we could install them as separate # libraries (like ldc2 and gdc). - druntimeMakeArgs=( $(usex static-libs 'lib dll' 'dll') ) + druntimeMakeArgs+=( $(usex static-libs 'lib dll' 'dll') ) # Either way, now we no longer build static-libs # indiscriminately. fi