pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/rust rust: Enable rust-llvm on macOS arm64.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3f261664fe04
branches:  trunk
changeset: 378746:3f261664fe04
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Thu May 05 10:27:33 2022 +0000

description:
rust: Enable rust-llvm on macOS arm64.

diffstat:

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

diffs (18 lines):

diff -r 68cd842d8c4b -r 3f261664fe04 lang/rust/options.mk
--- a/lang/rust/options.mk      Thu May 05 10:25:05 2022 +0000
+++ b/lang/rust/options.mk      Thu May 05 10:27:33 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.22 2022/04/23 15:54:34 he Exp $
+# $NetBSD: options.mk,v 1.23 2022/05/05 10:27:33 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