From 85c0adf61cd6da87208ab067c5fb34ffb47ffb39 Mon Sep 17 00:00:00 2001 From: miod Date: Fri, 11 Apr 2014 22:58:12 +0000 Subject: [PATCH] Add -fno-stack-protector to the two files which already need to be built with -O1 on landisk - they definitely hit worst case logic in what passes for a compiler we're using. ok martynas@ --- app/xterm/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/xterm/Makefile b/app/xterm/Makefile index 102051cce..858503f82 100644 --- a/app/xterm/Makefile +++ b/app/xterm/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.22 2013/03/09 14:45:38 matthieu Exp $ +# $OpenBSD: Makefile,v 1.23 2014/04/11 22:58:12 miod Exp $ .include SUBDIR= icons resize @@ -30,10 +30,10 @@ XETC?= /etc/X11 .if ${MACHINE_ARCH} == "sh" charproc.o: charproc.c - ${CC} -O1 -c ${CPPFLAGS} ${.CURDIR}/charproc.c + ${CC} -O1 -fno-stack-protector -c ${CPPFLAGS} ${.CURDIR}/charproc.c screen.o: screen.c - ${CC} -O1 -c ${CPPFLAGS} ${.CURDIR}/screen.c + ${CC} -O1 -fno-stack-protector -c ${CPPFLAGS} ${.CURDIR}/screen.c .endif .SUFFIXES: .man .1