pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
rust181: if building with an external LLVM turn off building LLD.
Module Name: pkgsrc-wip
Committed By: Havard Eidnes <he%NetBSD.org@localhost>
Pushed By: he
Date: Sat Oct 5 15:16:06 2024 +0000
Changeset: ca22f475e5c802b01800f4f03cca27e0443b9a93
Modified Files:
rust181/options.mk
Log Message:
rust181: if building with an external LLVM turn off building LLD.
The external LLVM may be older (e.g. 17) than the internal LLD (now
18.x together with the rest of the embedded LLVM), ref.
https://github.com/rust-lang/rust/issues/131291
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=ca22f475e5c802b01800f4f03cca27e0443b9a93
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
rust181/options.mk | 4 ++++
1 file changed, 4 insertions(+)
diffs:
diff --git a/rust181/options.mk b/rust181/options.mk
index 3557dba720..7315df0435 100644
--- a/rust181/options.mk
+++ b/rust181/options.mk
@@ -49,6 +49,10 @@ PKG_OPTIONS_LEGACY_OPTS+= rust-llvm:rust-internal-llvm
CONFIGURE_ARGS+= --enable-llvm-link-shared
CONFIGURE_ARGS+= --llvm-libunwind=system
CONFIGURE_ARGS+= --llvm-root=${BUILDLINK_PREFIX.llvm}
+# Also turn off build of the internal LLD, as the external LLVM
+# may be older (e.g. 17) than the internal LLD (now 18.x), ref.
+# https://github.com/rust-lang/rust/issues/131291
+CONFIGURE_ARGS+= --set rust.lld=false
.endif
#
Home |
Main Index |
Thread Index |
Old Index