pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
rust: if cross-building, build with the internal LLVM.
Module Name: pkgsrc-wip
Committed By: Havard Eidnes <he%NetBSD.org@localhost>
Pushed By: he
Date: Tue Aug 30 12:08:59 2022 +0000
Changeset: f7cbcb9640c37ac11363bc8f555f6f227f02dc7b
Modified Files:
rust/options.mk
Log Message:
rust: if cross-building, build with the internal LLVM.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=f7cbcb9640c37ac11363bc8f555f6f227f02dc7b
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
rust/options.mk | 5 +++++
1 file changed, 5 insertions(+)
diffs:
diff --git a/rust/options.mk b/rust/options.mk
index 6a3a7f104e..b381c48d83 100644
--- a/rust/options.mk
+++ b/rust/options.mk
@@ -13,6 +13,11 @@ PKG_SUPPORTED_OPTIONS+= rust-internal-llvm
PKG_SUGGESTED_OPTIONS+= rust-internal-llvm
. endif
+# If cross-building, always use the internal LLVM
+.if !empty(TARGET)
+PKG_SUGGESTED_OPTIONS+= rust-internal-llvm
+.endif
+
# Bundle OpenSSL and curl into the cargo binary when producing
# bootstraps on NetBSD.
.if ${OPSYS} == "NetBSD" && ${BUILD_TARGET} == "dist"
Home |
Main Index |
Thread Index |
Old Index