Received: by mail.netbsd.org (Postfix, from userid 605) id 062B884E86; Thu, 15 Dec 2022 21:47:48 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 3822984D60 for ; Thu, 15 Dec 2022 21:47:47 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id wrVVkXCMHoHc for ; Thu, 15 Dec 2022 21:47:46 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 874AA84CFE for ; Thu, 15 Dec 2022 21:47:46 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 80F61FA90; Thu, 15 Dec 2022 21:47:46 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1671140866281350" MIME-Version: 1.0 Date: Thu, 15 Dec 2022 21:47:46 +0000 From: "Jonathan Perkin" Subject: CVS commit: pkgsrc/lang/rust To: pkgsrc-changes@NetBSD.org Reply-To: jperkin@netbsd.org X-Mailer: log_accum Message-Id: <20221215214746.80F61FA90@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1671140866281350 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: jperkin Date: Thu Dec 15 21:47:46 UTC 2022 Modified Files: pkgsrc/lang/rust: cargo.mk Log Message: rust: Remove -Wl,--strip-all on SunOS. pkgsrc has its own strip handling, and we need to ensure objects aren't stripped before we optionally generate CTF data for them. To generate a diff of this commit: cvs rdiff -u -r1.30 -r1.31 pkgsrc/lang/rust/cargo.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1671140866281350 Content-Disposition: inline Content-Length: 888 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/lang/rust/cargo.mk diff -u pkgsrc/lang/rust/cargo.mk:1.30 pkgsrc/lang/rust/cargo.mk:1.31 --- pkgsrc/lang/rust/cargo.mk:1.30 Tue May 24 09:51:51 2022 +++ pkgsrc/lang/rust/cargo.mk Thu Dec 15 21:47:46 2022 @@ -1,4 +1,4 @@ -# $NetBSD: cargo.mk,v 1.30 2022/05/24 09:51:51 nia Exp $ +# $NetBSD: cargo.mk,v 1.31 2022/12/15 21:47:46 jperkin Exp $ # # Common logic that can be used by packages that depend on cargo crates # from crates.io. This lets existing pkgsrc infrastructure fetch and verify @@ -36,6 +36,9 @@ SITES.${crate}.crate+= -${MASTER_SITE_C EXTRACT_DIR.${crate}.crate?= ${CARGO_VENDOR_DIR} .endfor +# pkgsrc handles stripping and we might need to generate CTF data. +BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--strip-all + .include "../../mk/bsd.prefs.mk" # Triggers NetBSD ld.so bug (PR toolchain/54192) # See Makefile for further information. --_----------=_1671140866281350--