summaryrefslogtreecommitdiff
path: root/sys/arch/alpha/stand
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/alpha/stand
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/alpha/stand')
-rw-r--r--sys/arch/alpha/stand/boot/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/alpha/stand/boot/Makefile b/sys/arch/alpha/stand/boot/Makefile
index b98e666b6e9..3f61ed44139 100644
--- a/sys/arch/alpha/stand/boot/Makefile
+++ b/sys/arch/alpha/stand/boot/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.22 2017/06/12 18:49:34 espie Exp $
+# $OpenBSD: Makefile,v 1.23 2017/07/25 13:32:14 robert Exp $
# $NetBSD: Makefile,v 1.17 1997/04/17 07:27:46 thorpej Exp $
S= ${.CURDIR}/../../../..
@@ -28,7 +28,7 @@ DEFNS= -DCOMPAT_UFS
AFLAGS += -DASSEMBLER ${DEFNS} -fno-pie
CPPFLAGS += -I${.CURDIR}/../../../../lib/libsa -I${.CURDIR}/../.. -I${S} ${DEFNS}
-CFLAGS = -Os -Werror -mno-fp-regs -fno-pie \
+CFLAGS = -Oz -Werror -mno-fp-regs -fno-pie \
-msmall-data -msmall-text
${PROG}.nosym: ${PROG}.sym