From 8649e94e762e89c9b935d8d42b2371ebb2012bdf Mon Sep 17 00:00:00 2001 From: Robert Nagy Date: Tue, 25 Jul 2017 13:32:15 +0000 Subject: 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@ --- sys/arch/alpha/stand/boot/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/arch/alpha') 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 -- cgit v1.2.3