diff options
author | robert <robert@openbsd.org> | 2017-07-25 13:32:14 +0000 |
---|---|---|
committer | robert <robert@openbsd.org> | 2017-07-25 13:32:14 +0000 |
commit | 8150b6f3c290dc7fa1bc7861b531a2d8853bea9a (patch) | |
tree | 617aae39c8b0132af1b9bf209c0d7a7ad45ea287 /distrib/i386/common | |
parent | remove -Wa,-n from CMACHFLAGS as clang's internal assembler does not support it (diff) | |
download | wireguard-openbsd-8150b6f3c290dc7fa1bc7861b531a2d8853bea9a.tar.xz wireguard-openbsd-8150b6f3c290dc7fa1bc7861b531a2d8853bea9a.zip |
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/i386/common')
-rw-r--r-- | distrib/i386/common/Makefile.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/distrib/i386/common/Makefile.inc b/distrib/i386/common/Makefile.inc index 70e883ff17c..77686d17c87 100644 --- a/distrib/i386/common/Makefile.inc +++ b/distrib/i386/common/Makefile.inc @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.inc,v 1.42 2017/06/03 22:25:19 deraadt Exp $ +# $OpenBSD: Makefile.inc,v 1.43 2017/07/25 13:32:14 robert Exp $ TOP= ${.CURDIR}/.. @@ -57,7 +57,7 @@ unconfig: DISKTYPE?= rdroot MAKEFSARGS_RD= -o disklabel=${DISKTYPE},minfree=0,density=4096 -COPTS= -Os -mtune=i486 +COPTS= -Oz -mtune=i486 bsd.gz: bsd.rd cp bsd.rd bsd.strip |