pkgsrc-Changes archive

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

CVS commit: pkgsrc/mk



Module Name:    pkgsrc
Committed By:   he
Date:           Thu Dec 22 10:52:52 UTC 2022

Modified Files:
        pkgsrc/mk: atomic64.mk

Log Message:
atomic64.mk: also do this for earm* platforms.

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


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/mk/atomic64.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/mk/atomic64.mk
diff -u pkgsrc/mk/atomic64.mk:1.7 pkgsrc/mk/atomic64.mk:1.8
--- pkgsrc/mk/atomic64.mk:1.7   Tue Nov 15 17:14:48 2022
+++ pkgsrc/mk/atomic64.mk       Thu Dec 22 10:52:52 2022
@@ -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 @@ CFLAGS+=      -march=i586
     ${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