diff options
Diffstat (limited to 'lib/mesa')
-rw-r--r-- | lib/mesa/Makefile.bsd-wrapper | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/mesa/Makefile.bsd-wrapper b/lib/mesa/Makefile.bsd-wrapper index 632cd597c..34f2d2f48 100644 --- a/lib/mesa/Makefile.bsd-wrapper +++ b/lib/mesa/Makefile.bsd-wrapper @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.bsd-wrapper,v 1.7 2016/12/11 08:53:19 jsg Exp $ +# $OpenBSD: Makefile.bsd-wrapper,v 1.8 2017/01/21 11:23:09 stsp Exp $ .include <bsd.own.mk> @@ -38,6 +38,12 @@ CONFIGURE_ARGS= --with-dri-drivers=${DRI_DRIVERS} \ CONFIGURE_ARGS+= USER_CFLAGS="-march=i586" USER_CXXFLAGS="-march=i586" .endif +# powerpc lacks the __sync_add_and_fetch8 gcc atomic builtin +# which is used by the shader cache implementation +.if ${MACHINE_ARCH} == powerpc +CONFIGURE_ARGS+= --disable-shader-cache +.endif + .if ${MACHINE} == alpha # -O2 causes gcc ICE on main/format_pack.c and program/prog_execute.c O1= -fdefer-pop -fguess-branch-probability -fcprop-registers \ |