summaryrefslogtreecommitdiff
path: root/lib/mesa
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2019-02-07 18:34:53 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2019-02-07 18:34:53 +0000
commit345f294071c460eef75c57d233b5f0aa9f1a3dd8 (patch)
treeddacccea2ded6bc723d81f2bb9d3a2e74ba45cf4 /lib/mesa
parent78d3441610322cb7eeea0163a1dc4f12d050cbd5 (diff)
landisk requires -O0 'cause mesa is a pig.
Diffstat (limited to 'lib/mesa')
-rw-r--r--lib/mesa/Makefile.bsd-wrapper6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/mesa/Makefile.bsd-wrapper b/lib/mesa/Makefile.bsd-wrapper
index 27dba709e..4c45c30c7 100644
--- a/lib/mesa/Makefile.bsd-wrapper
+++ b/lib/mesa/Makefile.bsd-wrapper
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.bsd-wrapper,v 1.21 2018/10/23 06:35:32 jsg Exp $
+# $OpenBSD: Makefile.bsd-wrapper,v 1.22 2019/02/07 18:34:52 deraadt Exp $
.include <bsd.own.mk>
.include <bsd.xconf.mk>
@@ -71,6 +71,10 @@ O2= ${O1} -fthread-jumps -fcrossjumping -foptimize-sibling-calls \
CONFIGURE_ARGS+= USER_CFLAGS="-O0 ${O2}"
.endif
+.if ${MACHINE_ARCH} == sh
+CONFIGURE_ARGS+= USER_CFLAGS="-O0"
+.endif
+
${.OBJDIR}/src/util/format_srgb.c:
lndir -s -e obj -e obj.${MACHINE_ARCH} -e Makefile.bsd-wrapper ${.CURDIR}