diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2013-08-22 19:26:52 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2013-08-22 19:26:52 +0000 |
commit | fb21976d5265fa578e6c8459a057bc9873756e25 (patch) | |
tree | 5ff65931859c979e12d55c8f2b7abe24665da313 /share/mk/bsd.xconf.mk | |
parent | a7693ee782eb51a5b18f356eb2f4d15b61951f45 (diff) |
Gallium requires gcc 4 __sync_and_fetch() support, so don't bother trying
to build it on platforms which don't provide this.
ok jsg@ matthieu@
Diffstat (limited to 'share/mk/bsd.xconf.mk')
-rw-r--r-- | share/mk/bsd.xconf.mk | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/share/mk/bsd.xconf.mk b/share/mk/bsd.xconf.mk index 05e530eb2..ee5e9286d 100644 --- a/share/mk/bsd.xconf.mk +++ b/share/mk/bsd.xconf.mk @@ -1,4 +1,4 @@ -# $OpenBSD: bsd.xconf.mk,v 1.26 2013/08/17 17:05:43 bcallah Exp $ +# $OpenBSD: bsd.xconf.mk,v 1.27 2013/08/22 19:26:51 miod Exp $ # Shared libs? .if ${MACHINE} == "vax" @@ -15,7 +15,15 @@ XENOCARA_BUILD_DRI?=no XENOCARA_BUILD_GL?=${XENOCARA_HAVE_SHARED_LIBS:L} XENOCARA_BUILD_DRI?=${XENOCARA_HAVE_SHARED_LIBS:L} .endif +# 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" +XENOCARA_BUILD_GALLIUM?=no +.else XENOCARA_BUILD_GALLIUM?=${XENOCARA_HAVE_SHARED_LIBS:L} +.endif # Build pixman? .if ${MACHINE} == "vax" |