diff --git a/lib/mesa/Makefile.bsd-wrapper b/lib/mesa/Makefile.bsd-wrapper index 5ffe6900c..8f6fc07ce 100644 --- a/lib/mesa/Makefile.bsd-wrapper +++ b/lib/mesa/Makefile.bsd-wrapper @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.bsd-wrapper,v 1.23 2019/02/19 05:57:17 jsg Exp $ +# $OpenBSD: Makefile.bsd-wrapper,v 1.24 2019/03/06 10:39:52 jsg Exp $ .include .include @@ -8,10 +8,12 @@ SHARED_LIBS= EGL 1.1 gbm 0.3 glapi 0.2 GL 17.1 GLESv1_CM 1.0 GLESv2 1.2 \ DRI_DRIVERS= swrast GALLIUM_DRIVERS= swrast +WITH_LLVM= --disable-llvm .if ${MACHINE} == i386 || ${MACHINE} == amd64 DRI_DRIVERS=swrast,radeon,r200,i915,i965 -GALLIUM_DRIVERS=swrast,r300,r600 +GALLIUM_DRIVERS=swrast,r300,r600,radeonsi +WITH_LLVM= --enable-llvm .endif .if ${MACHINE} == arm64 || ${MACHINE} == loongson || \ @@ -23,7 +25,7 @@ GALLIUM_DRIVERS=swrast,r300,r600 CONFIGURE_ARGS= --with-dri-drivers=${DRI_DRIVERS} \ --with-gallium-drivers=${GALLIUM_DRIVERS} \ --disable-silent-rules \ - --disable-llvm \ + ${WITH_LLVM} \ --disable-glx-tls \ --disable-regen-sources \ --enable-gles1 --enable-gles2 \