diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2019-04-14 14:07:09 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2019-04-14 14:07:09 +0000 |
commit | 8e4ff341776e248f3b84ce0033e33109e67e060f (patch) | |
tree | 796227e5fc0fff4fd727e7769f269404229837f5 /sys/arch/sgi/conf/Makefile.sgi | |
parent | 6ea34e8d76621b3a07963243bade30421938e9d4 (diff) |
Instead of using COPTS=-Oz (and similar) in make environment to force
tightly-built ramdisk kernels, set the option in per-arch Makefile.inc
based upon SMALL_KERNEL
Diffstat (limited to 'sys/arch/sgi/conf/Makefile.sgi')
-rw-r--r-- | sys/arch/sgi/conf/Makefile.sgi | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/sgi/conf/Makefile.sgi b/sys/arch/sgi/conf/Makefile.sgi index c91f9f5cad7..8b099e9e4c0 100644 --- a/sys/arch/sgi/conf/Makefile.sgi +++ b/sys/arch/sgi/conf/Makefile.sgi @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.sgi,v 1.97 2019/01/14 16:27:19 visa Exp $ +# $OpenBSD: Makefile.sgi,v 1.98 2019/04/14 14:07:07 deraadt Exp $ # For instructions on building kernels consult the config(8) and options(4) # manual pages. @@ -42,6 +42,7 @@ CMACHFLAGS+= -fno-stack-protector .endif .if ${IDENT:M-DSMALL_KERNEL} SORTR= cat +COPTS?= -Oz .endif DEBUG?= -g |