add 32-bit sparc to the list of libatomic archs

This commit is contained in:
nia 2021-06-13 06:04:17 +00:00
parent ad2c6356d3
commit 401280bcc9

View file

@ -1,4 +1,4 @@
# $NetBSD: atomic64.mk,v 1.3 2021/05/07 11:32:01 rin Exp $
# $NetBSD: atomic64.mk,v 1.4 2021/06/13 06:04:17 nia Exp $
#
# This Makefile fragment is included by packages that require 64-bit atomic
# operations, and will attempt to set the appropriate architecture-specific
@ -17,7 +17,9 @@ CXXFLAGS+= -march=i586
. endif
.endif
.if ${MACHINE_ARCH} == "m68k" || ${MACHINE_ARCH} == "powerpc"
.if ${MACHINE_ARCH} == "m68k" || \
${MACHINE_ARCH} == "powerpc" || \
${MACHINE_ARCH} == "sparc"
. include "../../devel/libatomic/buildlink3.mk"
.endif