MesaLib: go back to disabling llvm on SunOS and non-dri platforms
This commit is contained in:
parent
416cd391b1
commit
e8a1c9ebf3
1 changed files with 7 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: options.mk,v 1.72 2019/08/31 10:09:15 nia Exp $
|
||||
# $NetBSD: options.mk,v 1.73 2019/09/01 09:36:16 nia Exp $
|
||||
|
||||
PKG_OPTIONS_VAR= PKG_OPTIONS.MesaLib
|
||||
|
||||
|
@ -15,8 +15,12 @@ PKG_SUGGESTED_OPTIONS+= x11
|
|||
#
|
||||
# Enable it by default on platforms where such GPUs might be encountered or
|
||||
# LLVM-accelerated software rendering might be useful.
|
||||
.if (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" || \
|
||||
${MACHINE_ARCH} == "aarch64")
|
||||
.if ${OPSYS} != "SunOS" && \
|
||||
${OPSYS} != "Darwin" && \
|
||||
${OPSYS} != "Cygwin" && \
|
||||
(${MACHINE_ARCH} == "i386" || \
|
||||
${MACHINE_ARCH} == "x86_64" || \
|
||||
${MACHINE_ARCH} == "aarch64")
|
||||
PKG_SUGGESTED_OPTIONS+= llvm
|
||||
.endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue