summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2020-08-27 13:34:34 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2020-08-27 13:34:34 +0000
commite5c2fe3b6850423089c63bbfd2225611caf94552 (patch)
treeab13303aac46e9093eeeedd5b3f752b5ec718c3e /lib
parent40b37b70874d45381d38a3f9dfdfb9a81d333e2e (diff)
build with -DMISSING_64BIT_ATOMICS on powerpc
Diffstat (limited to 'lib')
-rw-r--r--lib/mesa/mk/config.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/mesa/mk/config.mk b/lib/mesa/mk/config.mk
index 2320d1132..a92cc5b7f 100644
--- a/lib/mesa/mk/config.mk
+++ b/lib/mesa/mk/config.mk
@@ -132,6 +132,10 @@ BUILD_ID_SHA1=
CPPFLAGS+= -DHAVE_UINT128
.endif
+.if ${MACHINE_ARCH} == "powerpc"
+CPPFLAGS+= -DMISSING_64BIT_ATOMICS
+.endif
+
.if ${MACHINE_ARCH} == "i386"
CPPFLAGS+= -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM \
-DUSE_SSE41