pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/lang/rust



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.

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.



Home | Main Index | Thread Index | Old Index