summaryrefslogtreecommitdiff
path: root/sys/arch/landisk
diff options
context:
space:
mode:
authorRobert Nagy <robert@cvs.openbsd.org>2017-07-25 13:32:15 +0000
committerRobert Nagy <robert@cvs.openbsd.org>2017-07-25 13:32:15 +0000
commit8649e94e762e89c9b935d8d42b2371ebb2012bdf (patch)
tree60c6ab496824183563ac495e3107423340fcd95b /sys/arch/landisk
parent5a56edb633ad3fcab435ac1c5889398ccefeb9ff (diff)
change -Os to -Oz all around the tree
clang optimizes better for size with -Oz so use that as a default to avoid overflowing the ramdisk floppies. gcc now accepts -Oz as an alias for -Os. ok kettenis@
Diffstat (limited to 'sys/arch/landisk')
-rw-r--r--sys/arch/landisk/stand/Makefile.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/landisk/stand/Makefile.inc b/sys/arch/landisk/stand/Makefile.inc
index 47e34021e56..542df2ec7ef 100644
--- a/sys/arch/landisk/stand/Makefile.inc
+++ b/sys/arch/landisk/stand/Makefile.inc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.inc,v 1.3 2016/11/06 16:04:20 tb Exp $
+# $OpenBSD: Makefile.inc,v 1.4 2017/07/25 13:32:14 robert Exp $
.if !make(clean) && !make(cleandir) && !make(includes) && !make(libdep) && \
!make(sadep) && !make(salibdir) && !make(obj)
@@ -7,7 +7,7 @@
@([ X$(S) = X -o -h sh ] || ln -s $(S)/arch/sh/include sh)
.endif
-CFLAGS+=-Os -fno-stack-protector -fno-builtin
+CFLAGS+=-Oz -fno-stack-protector -fno-builtin
CLEANFILES+= machine sh
BINDIR= /usr/mdec
MANSUBDIR=landisk