summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjklos <jklos@pkgsrc.org>2021-08-02 18:37:08 +0000
committerjklos <jklos@pkgsrc.org>2021-08-02 18:37:08 +0000
commitd1088e972b09dcada46a3a4bf74a48be7cc2296c (patch)
treea0cb67b16fcdc00ef4f4640effb7ae79cfcee859
parent0ab4bd0fa789d162fdeb9fb61796a0078aa2bf28 (diff)
downloadpkgsrc-d1088e972b09dcada46a3a4bf74a48be7cc2296c.tar.gz
Add VAX to list of architectures which need libatomic. Additional fix for PR/56315.
-rw-r--r--mk/atomic64.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/mk/atomic64.mk b/mk/atomic64.mk
index 49c2308273e..ef73eb94517 100644
--- a/mk/atomic64.mk
+++ b/mk/atomic64.mk
@@ -1,4 +1,4 @@
-# $NetBSD: atomic64.mk,v 1.4 2021/06/13 06:04:17 nia Exp $
+# $NetBSD: atomic64.mk,v 1.5 2021/08/02 18:37:08 jklos Exp $
#
# This Makefile fragment is included by packages that require 64-bit atomic
# operations, and will attempt to set the appropriate architecture-specific
@@ -19,7 +19,8 @@ CXXFLAGS+= -march=i586
.if ${MACHINE_ARCH} == "m68k" || \
${MACHINE_ARCH} == "powerpc" || \
- ${MACHINE_ARCH} == "sparc"
+ ${MACHINE_ARCH} == "sparc" || \
+ ${MACHINE_ARCH} == "vax"
. include "../../devel/libatomic/buildlink3.mk"
.endif