summaryrefslogtreecommitdiff
path: root/sys/arch/hppa/conf/Makefile.hppa
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/hppa/conf/Makefile.hppa')
-rw-r--r--sys/arch/hppa/conf/Makefile.hppa6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/arch/hppa/conf/Makefile.hppa b/sys/arch/hppa/conf/Makefile.hppa
index 3bbf488cbed..ed7e29c17d5 100644
--- a/sys/arch/hppa/conf/Makefile.hppa
+++ b/sys/arch/hppa/conf/Makefile.hppa
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.hppa,v 1.105 2018/02/09 03:59:15 tb Exp $
+# $OpenBSD: Makefile.hppa,v 1.106 2019/04/14 14:07:06 deraadt Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
@@ -31,6 +31,10 @@ CMACHFLAGS= -mfast-indirect-calls -mportable-runtime -mno-space-regs
CMACHFLAGS+= -ffreestanding ${NOPIE_FLAGS}
CMACHFLAGS+= -fno-stack-protector
SORTR= sort -R
+.if ${IDENT:M-DSMALL_KERNEL}
+SORTR= cat
+COPTS?= -Oz
+.endif
DEBUG?= -g
COPTS?= -O2