pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/rust rust: Darwin/arm64 needs to use rust-llvm fo...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/15b77a45172f
branches:  trunk
changeset: 374831:15b77a45172f
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Mon Feb 28 11:32:26 2022 +0000

description:
rust: Darwin/arm64 needs to use rust-llvm for now.

diffstat:

 lang/rust/options.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 87bd2ae7c056 -r 15b77a45172f lang/rust/options.mk
--- a/lang/rust/options.mk      Mon Feb 28 10:13:53 2022 +0000
+++ b/lang/rust/options.mk      Mon Feb 28 11:32:26 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.17 2021/11/20 16:09:46 he Exp $
+# $NetBSD: options.mk,v 1.18 2022/02/28 11:32:26 jperkin Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.rust
 PKG_SUPPORTED_OPTIONS+=        rust-cargo-static rust-docs
@@ -9,7 +9,7 @@
 .if ${OPSYS} != "SunOS"
 PKG_SUPPORTED_OPTIONS+=                rust-llvm
 # There may be compatibility issues with base LLVM.
-.  if !empty(HAVE_LLVM)
+.  if !empty(HAVE_LLVM) || !empty(MACHINE_PLATFORM:MDarwin-*-aarch64)
 PKG_SUGGESTED_OPTIONS+=                rust-llvm
 .  endif
 .endif



Home | Main Index | Thread Index | Old Index