diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2020-08-27 13:34:34 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2020-08-27 13:34:34 +0000 |
commit | e5c2fe3b6850423089c63bbfd2225611caf94552 (patch) | |
tree | ab13303aac46e9093eeeedd5b3f752b5ec718c3e /lib/mesa/mk | |
parent | 40b37b70874d45381d38a3f9dfdfb9a81d333e2e (diff) |
build with -DMISSING_64BIT_ATOMICS on powerpc
Diffstat (limited to 'lib/mesa/mk')
-rw-r--r-- | lib/mesa/mk/config.mk | 4 |
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 |