pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk atomic64.mk: also do this for earm* platforms.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0d9a20d8937c
branches:  trunk
changeset: 390555:0d9a20d8937c
user:      he <he%pkgsrc.org@localhost>
date:      Thu Dec 22 10:52:52 2022 +0000

description:
atomic64.mk: also do this for earm* platforms.

Fixes build issue for the upcoming rust 1.66,
which will land in wip shortly.

diffstat:

 mk/atomic64.mk |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 0c8a1e52ec5c -r 0d9a20d8937c mk/atomic64.mk
--- a/mk/atomic64.mk    Thu Dec 22 10:08:42 2022 +0000
+++ b/mk/atomic64.mk    Thu Dec 22 10:52:52 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: atomic64.mk,v 1.7 2022/11/15 17:14:48 he Exp $
+# $NetBSD: atomic64.mk,v 1.8 2022/12/22 10:52:52 he Exp $
 #
 # This Makefile fragment is included by packages that require 64-bit atomic
 # operations, and will attempt to set the appropriate architecture-specific
@@ -21,7 +21,8 @@
     ${MACHINE_ARCH} == "mipseb" || \
     ${MACHINE_ARCH} == "powerpc" || \
     ${MACHINE_ARCH} == "sparc" || \
-    ${MACHINE_ARCH} == "vax"
+    ${MACHINE_ARCH} == "vax" || \
+    !empty(MACHINE_ARCH:Mearm*)
 .  include "../../devel/libatomic/buildlink3.mk"
 .endif
 



Home | Main Index | Thread Index | Old Index