summaryrefslogtreecommitdiff
path: root/distrib/alpha/bsd.rd/Makefile
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 /distrib/alpha/bsd.rd/Makefile
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 'distrib/alpha/bsd.rd/Makefile')
-rw-r--r--distrib/alpha/bsd.rd/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/distrib/alpha/bsd.rd/Makefile b/distrib/alpha/bsd.rd/Makefile
index 241185ba092..23ebb201b6d 100644
--- a/distrib/alpha/bsd.rd/Makefile
+++ b/distrib/alpha/bsd.rd/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.24 2017/06/03 22:25:19 deraadt Exp $
+# $OpenBSD: Makefile,v 1.25 2017/07/25 13:32:14 robert Exp $
TOP= ${.CURDIR}/..
@@ -31,7 +31,7 @@ bsd.rd_unz: bsd ${IMAGE} rdsetroot
bsd:
cd ${.CURDIR}/../../../sys/arch/alpha/compile/${RAMDISK} && \
- su ${BUILDUSER} -c '${MAKE} config && ${MAKE} clean && env COPTS=-Os ${MAKE}'
+ su ${BUILDUSER} -c '${MAKE} config && ${MAKE} clean && env COPTS=-Oz ${MAKE}'
cp -p ${.CURDIR}/../../../sys/arch/alpha/compile/${RAMDISK}/obj/bsd bsd
${IMAGE}: ${CBIN}