From 345f294071c460eef75c57d233b5f0aa9f1a3dd8 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Thu, 7 Feb 2019 18:34:53 +0000 Subject: landisk requires -O0 'cause mesa is a pig. --- lib/mesa/Makefile.bsd-wrapper | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'lib/mesa') 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 .include @@ -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} -- cgit v1.2.3