summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 d81bc066b..c8d74170b 100644
--- a/lib/mesa/mk/config.mk
+++ b/lib/mesa/mk/config.mk
@@ -177,12 +177,16 @@ WITH_DRI=yes
WITH_GALLIUM_DRISW_KMS=yes
WITH_GALLIUM_SOFTPIPE=yes
+.if ${MACHINE_ARCH} == "powerpc"
+WITH_LLVM=no
+.else
WITH_LLVM=yes
LLVM_V!= llvm-config --version
CPPFLAGS+= -DLLVM_AVAILABLE \
-DLLVM_IS_SHARED=1 \
-DDRAW_LLVM_AVAILABLE \
-DMESA_LLVM_VERSION_STRING=\"${LLVM_V}\"
+.endif
.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386"
WITH_SSE41=yes