pkgsrc-WIP-changes archive

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

rust: use system libunwind



Module Name:	pkgsrc-wip
Committed By:	Adam Ciarciński <aciarcinski%teonite.com@localhost>
Pushed By:	adam
Date:		Mon Jan 15 13:25:19 2024 +0100
Changeset:	4435fd3d9a1cb0f77c2ac3bc00a651986f8e9f10

Modified Files:
	rust175/options.mk

Log Message:
rust: use system libunwind

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=4435fd3d9a1cb0f77c2ac3bc00a651986f8e9f10

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 rust175/options.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diffs:
diff --git a/rust175/options.mk b/rust175/options.mk
index a92c7d88f1..d1204912cc 100644
--- a/rust175/options.mk
+++ b/rust175/options.mk
@@ -41,9 +41,10 @@ PKG_OPTIONS_LEGACY_OPTS+=	rust-llvm:rust-internal-llvm
 .if empty(PKG_OPTIONS:Mrust-internal-llvm)
 # External LLVM must be >= 15, ref. RELEASES.md
 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