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 B6C72158086 for ; Mon, 20 Dec 2021 17:36:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 10A3A2BC030; Mon, 20 Dec 2021 17:35:57 +0000 (UTC) Received: from wout5-smtp.messagingengine.com (wout5-smtp.messagingengine.com [64.147.123.21]) (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 2FA672BC01C for ; Mon, 20 Dec 2021 17:35:55 +0000 (UTC) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 6289E3200993 for ; Mon, 20 Dec 2021 12:35:54 -0500 (EST) Received: from imap42 ([10.202.2.92]) by compute4.internal (MEProxy); Mon, 20 Dec 2021 12:35:54 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=offtopica.uk; h= mime-version:message-id:date:from:to:subject:content-type; s= fm3; bh=F5ouyguvhNc8qWJbxXhBdhXY87joetGCq58Nk/9++Ns=; b=U5e7P8qf QiBeKQHxpGBp9qD1fVapxDFzv5taCg3PEEPVcZEBGku0uaNzIuJ6r1uOQ6U3gVmr 16AS/gkut2tHpAznBB8N9tDzU6wB1ztk1M3OviJ5lgVaNBhIhu5cG9E3juXG/CAH J9Vq1DutLkAlq9V6a3U1/tgfUWJaVLu5+lsFap69Lmnmx02FEfje4sPzZB6l0Xeb PPvPARAX8D/iMwdwSWk/hUc5tEd7iGXrj2b0FbR4kxOu6NDl9AC8QDS2zGYdZXaV BomNjHcBJT56TBclXTrO8qRWd3+JSBDaK+hMNIrRG2sRQ20wnx6O7xhq2YSCCBaR MAb7lff4g5D9aw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=F5ouyguvhNc8qWJbxXhBdhXY87joe tGCq58Nk/9++Ns=; b=jcFXdD6VVApSbIr7OQWIL3m07ismLOzimzciE2hGt5vN3 ny+zMzDA/5wLpbDnHLHIRqNpP7qrTW0J+MzcRhUfHtBU23O/uScvs5GYoyGWeGWM FkX/JOQIGP1VLDiCvQ9x4qx+QykoBSvTwyNFB8R0royegN9jWc8gOJ8EmFefrPtj cVfd2Uozev4CgmflYrrF0ijuIBIMZu/vN6MM13k87qPjul/tccKpuQHEzTtHLTxK dc3l3tuaIoWYhh+wiRPnODMklOZ01hInOzO7smjwO2MFmKdUiDQUp590MDKO/t+C Sjc+G8dTHFw6zD71g4q5BK5VkpgUyYHkKT/iSf4OA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddruddtvddguddtfecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhepofgfggfkfffhvffutgesthdtre dtreertdenucfhrhhomhepfdforghtthhhvgifucfumhhithhhfdcuoehmrghtthesohhf fhhtohhpihgtrgdruhhkqeenucggtffrrghtthgvrhhnpeelgeeigfeiveelvdeltefghf dtuedvveevteeiledtudeggfevledvvdfhgeejieenucffohhmrghinhepghgvnhhtohho rdhorhhgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh epmhgrthhtsehofhhfthhophhitggrrdhukh X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 762BA2180078; Mon, 20 Dec 2021 12:35:53 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.5.0-alpha0-4524-g5e5d2efdba-fm-20211214.001-g5e5d2efd Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply Mime-Version: 1.0 Message-Id: <4087ebec-879d-46c0-a132-821d76100e1d@www.fastmail.com> Date: Mon, 20 Dec 2021 17:34:40 +0000 From: "Matthew Smith" To: gentoo-dev@lists.gentoo.org Subject: [gentoo-dev] [PATCH] tree-sitter-grammar.eclass: Fix compatibility with lld Content-Type: text/plain X-Archives-Salt: c560e609-f179-4df2-83e5-64bd71a0bcb1 X-Archives-Hash: 91dc132d1e890a5d6b75a8b3e14cbbb1 -soname is only accepted by GNU ld, but --soname= is accepted by both GNU ld and LLVM lld. Closes: https://bugs.gentoo.org/828093 Closes: https://bugs.gentoo.org/829668 Closes: https://bugs.gentoo.org/829669 Closes: https://bugs.gentoo.org/829670 Closes: https://bugs.gentoo.org/829671 Closes: https://bugs.gentoo.org/829672 Closes: https://bugs.gentoo.org/829673 Closes: https://bugs.gentoo.org/829674 Closes: https://bugs.gentoo.org/829675 Closes: https://bugs.gentoo.org/829676 Closes: https://bugs.gentoo.org/829677 Signed-off-by: Matthew Smith --- eclass/tree-sitter-grammar.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/tree-sitter-grammar.eclass b/eclass/tree-sitter-grammar.eclass index 7207ecf3ddd7c..10baa3c4adb6c 100644 --- a/eclass/tree-sitter-grammar.eclass +++ b/eclass/tree-sitter-grammar.eclass @@ -77,7 +77,7 @@ tree-sitter-grammar_src_compile() { ${link} ${LDFLAGS} \ -shared \ *.o \ - -Wl,-soname ${soname} \ + -Wl,--soname=${soname} \ -o "${WORKDIR}"/${soname} || die }