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@
This commit is contained in:
miod
2014-04-11 22:58:12 +00:00
parent 221fae0332
commit 85c0adf61c

View File

@@ -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 <bsd.xconf.mk>
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