summaryrefslogtreecommitdiff
path: root/lang/rust
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2022-07-11 20:13:50 +0000
committerjperkin <jperkin@pkgsrc.org>2022-07-11 20:13:50 +0000
commit1e7deb6ca0cc2882fd86cd1694c1b7287a62c48b (patch)
tree17795cf82b87477bf692c59b9b185f91e5b36ba1 /lang/rust
parent712b459cf91fb0f5bb5cf968520e1460c6f7e212 (diff)
downloadpkgsrc-1e7deb6ca0cc2882fd86cd1694c1b7287a62c48b.tar.gz
rust: Put back change lost in last update.
Should hopefully get build going again on macOS/arm64.
Diffstat (limited to 'lang/rust')
-rw-r--r--lang/rust/options.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/rust/options.mk b/lang/rust/options.mk
index e3a1e46bc04..d4af0021c4d 100644
--- a/lang/rust/options.mk
+++ b/lang/rust/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.25 2022/06/13 13:38:19 nia Exp $
+# $NetBSD: options.mk,v 1.26 2022/07/11 20:13:50 jperkin Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.rust
PKG_SUPPORTED_OPTIONS+= rust-cargo-static rust-docs
@@ -9,7 +9,7 @@ PKG_SUPPORTED_OPTIONS+= rust-cargo-static rust-docs
.if ${OPSYS} != "SunOS"
PKG_SUPPORTED_OPTIONS+= rust-internal-llvm
# There may be compatibility issues with the base LLVM on e.g. NetBSD.
-. if !empty(HAVE_LLVM)
+. if !empty(HAVE_LLVM) || !empty(MACHINE_PLATFORM:MDarwin-*-aarch64)
PKG_SUGGESTED_OPTIONS+= rust-internal-llvm
. endif
.endif