From e5c2fe3b6850423089c63bbfd2225611caf94552 Mon Sep 17 00:00:00 2001 From: Jonathan Gray Date: Thu, 27 Aug 2020 13:34:34 +0000 Subject: build with -DMISSING_64BIT_ATOMICS on powerpc --- lib/mesa/mk/config.mk | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib') 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 -- cgit v1.2.3