diff options
author | Robert Nagy <robert@cvs.openbsd.org> | 2017-07-25 13:32:15 +0000 |
---|---|---|
committer | Robert Nagy <robert@cvs.openbsd.org> | 2017-07-25 13:32:15 +0000 |
commit | 8649e94e762e89c9b935d8d42b2371ebb2012bdf (patch) | |
tree | 60c6ab496824183563ac495e3107423340fcd95b /sys/arch/amd64/stand | |
parent | 5a56edb633ad3fcab435ac1c5889398ccefeb9ff (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/amd64/stand')
-rw-r--r-- | sys/arch/amd64/stand/Makefile.inc | 4 |
1 files changed, 2 insertions, 2 deletions
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 |