summaryrefslogtreecommitdiff
path: root/sys/arch/alpha
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2019-04-14 14:07:09 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2019-04-14 14:07:09 +0000
commit8e4ff341776e248f3b84ce0033e33109e67e060f (patch)
tree796227e5fc0fff4fd727e7769f269404229837f5 /sys/arch/alpha
parent6ea34e8d76621b3a07963243bade30421938e9d4 (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/alpha')
-rw-r--r--sys/arch/alpha/conf/Makefile.alpha3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/alpha/conf/Makefile.alpha b/sys/arch/alpha/conf/Makefile.alpha
index d3981b65b2c..25642a5991c 100644
--- a/sys/arch/alpha/conf/Makefile.alpha
+++ b/sys/arch/alpha/conf/Makefile.alpha
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.alpha,v 1.111 2018/02/09 03:59:15 tb Exp $
+# $OpenBSD: Makefile.alpha,v 1.112 2019/04/14 14:07:05 deraadt Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
@@ -37,6 +37,7 @@ CMACHFLAGS+= -fno-stack-protector
.endif
.if ${IDENT:M-DSMALL_KERNEL}
SORTR= cat
+COPTS?= -Oz
.endif
DEBUG?= -g