summaryrefslogtreecommitdiff
path: root/lang/rust
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2022-11-15 15:42:29 +0000
committerwiz <wiz@pkgsrc.org>2022-11-15 15:42:29 +0000
commit87fa9f935e9fccee945fccac9a28306cb8f82fd8 (patch)
treefd2299f468db4c0ae64bc1390ded2e286ec6bcc1 /lang/rust
parent9aa065f0de15bef362aba7a04a93d2f5876745c4 (diff)
downloadpkgsrc-87fa9f935e9fccee945fccac9a28306cb8f82fd8.tar.gz
rust: default rust-internal-llvm to on for now
llvm in pkgsrc is too new for rust 1.63 Should be reverted on next rust update
Diffstat (limited to 'lang/rust')
-rw-r--r--lang/rust/options.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/lang/rust/options.mk b/lang/rust/options.mk
index 2ba0f79de8d..249f3790781 100644
--- a/lang/rust/options.mk
+++ b/lang/rust/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.28 2022/09/01 09:59:46 jperkin Exp $
+# $NetBSD: options.mk,v 1.29 2022/11/15 15:42:29 wiz Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.rust
PKG_SUPPORTED_OPTIONS+= rust-cargo-static rust-docs
@@ -19,6 +19,9 @@ PKG_SUGGESTED_OPTIONS+= rust-internal-llvm
PKG_SUGGESTED_OPTIONS+= rust-internal-llvm
.endif
+# as llvm 15 does not work with rust 1.63, always use internal llvm for now
+PKG_SUGGESTED_OPTIONS+= rust-internal-llvm
+
# Bundle OpenSSL and curl into the cargo binary when producing
# bootstraps on NetBSD.
.if ${OPSYS} == "NetBSD" && ${BUILD_TARGET} == "dist"