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/amd64/stand/Makefile.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/arch/amd64/stand') diff --git a/sys/arch/amd64/stand/Makefile.inc b/sys/arch/amd64/stand/Makefile.inc index 1418ea740c7..7e45fedcc49 100644 --- a/sys/arch/amd64/stand/Makefile.inc +++ b/sys/arch/amd64/stand/Makefile.inc @@ -1,6 +1,6 @@ -# $OpenBSD: Makefile.inc,v 1.17 2017/05/30 22:32:10 naddy Exp $ +# $OpenBSD: Makefile.inc,v 1.18 2017/07/25 13:32:14 robert Exp $ -CFLAGS=${DEBUG} ${COPTS} -Os -Wall -Werror +CFLAGS=${DEBUG} ${COPTS} -Oz -Wall -Werror CFLAGS+= -ffreestanding -fno-stack-protector -DMDRANDOM CPPFLAGS+=-I${S} -I${SADIR}/libsa -I. -I${.CURDIR} SACFLAGS=-D_STANDALONE -- cgit v1.2.3