summaryrefslogtreecommitdiff
path: root/share/mk/bsd.xconf.mk
diff options
context:
space:
mode:
authorVisa Hankala <visa@cvs.openbsd.org>2016-02-05 13:59:12 +0000
committerVisa Hankala <visa@cvs.openbsd.org>2016-02-05 13:59:12 +0000
commit3f0b085e1e261119330779063705c9cb9707ceb9 (patch)
tree1689c63655239ba2d5511b18dece897bbf5e5855 /share/mk/bsd.xconf.mk
parentdc62a0dd1b786d581886b0feb32ae088a6761155 (diff)
Re-enable GL on mips64 as the architecture now has the __sync functions.
Build the libraries even on octeon for consistency. The platform uses the common mips64 packages which are built with GL. ok jasper@, kettenis@
Diffstat (limited to 'share/mk/bsd.xconf.mk')
-rw-r--r--share/mk/bsd.xconf.mk9
1 files changed, 4 insertions, 5 deletions
diff --git a/share/mk/bsd.xconf.mk b/share/mk/bsd.xconf.mk
index 5c18e3751..23045d296 100644
--- a/share/mk/bsd.xconf.mk
+++ b/share/mk/bsd.xconf.mk
@@ -1,4 +1,4 @@
-# $OpenBSD: bsd.xconf.mk,v 1.29 2015/11/25 09:23:59 jsg Exp $
+# $OpenBSD: bsd.xconf.mk,v 1.30 2016/02/05 13:59:11 visa Exp $
# Shared libs?
.if ${MACHINE} == "vax"
@@ -8,8 +8,7 @@ XENOCARA_HAVE_SHARED_LIBS?=yes
.endif
# Build GL libs and apps?
-.if ${MACHINE_CPU} == "mips64" || ${MACHINE_ARCH} == "m88k" || \
- ${MACHINE_ARCH} == "alpha"
+.if ${MACHINE_ARCH} == "m88k" || ${MACHINE_ARCH} == "alpha"
XENOCARA_BUILD_GL?=no
XENOCARA_BUILD_DRI?=no
.else
@@ -19,8 +18,8 @@ XENOCARA_BUILD_DRI?=${XENOCARA_HAVE_SHARED_LIBS:L}
# Gallium requires gcc 4 __sync_and_fetch() support
.if ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "hppa" || \
${MACHINE_ARCH} == "hppa64" || ${MACHINE_ARCH} == "m68k" || \
- ${MACHINE_ARCH} == "m88k" || ${MACHINE_CPU} == "mips64" || \
- ${MACHINE_ARCH} == "sh" || ${MACHINE_ARCH} == "sparc"
+ ${MACHINE_ARCH} == "m88k" || ${MACHINE_ARCH} == "sh" || \
+ ${MACHINE_ARCH} == "sparc"
XENOCARA_BUILD_GALLIUM?=no
.else
XENOCARA_BUILD_GALLIUM?=${XENOCARA_HAVE_SHARED_LIBS:L}