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: adam
Date: Mon Jan 15 12:24:21 UTC 2024
Modified Files:
pkgsrc/lang/rust: options.mk
Log Message:
rust: use system libunwind
To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 pkgsrc/lang/rust/options.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/options.mk
diff -u pkgsrc/lang/rust/options.mk:1.33 pkgsrc/lang/rust/options.mk:1.34
--- pkgsrc/lang/rust/options.mk:1.33 Thu Nov 16 09:49:12 2023
+++ pkgsrc/lang/rust/options.mk Mon Jan 15 12:24:21 2024
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.33 2023/11/16 09:49:12 he Exp $
+# $NetBSD: options.mk,v 1.34 2024/01/15 12:24:21 adam Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.rust
PKG_SUPPORTED_OPTIONS+= rust-cargo-static rust-docs
@@ -40,9 +40,10 @@ PKG_OPTIONS_LEGACY_OPTS+= rust-llvm:rust
#
.if empty(PKG_OPTIONS:Mrust-internal-llvm)
BUILDLINK_API_DEPENDS.llvm+= llvm>=15
+.include "../../lang/libunwind/buildlink3.mk"
.include "../../lang/llvm/buildlink3.mk"
CONFIGURE_ARGS+= --enable-llvm-link-shared
-#CONFIGURE_ARGS+= --llvm-libunwind=system
+CONFIGURE_ARGS+= --llvm-libunwind=system
CONFIGURE_ARGS+= --llvm-root=${BUILDLINK_PREFIX.llvm}
.endif
Home |
Main Index |
Thread Index |
Old Index