summaryrefslogtreecommitdiff
path: root/sys/arch/amd64/stand/boot
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2021-07-08 20:04:59 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2021-07-08 20:04:59 +0000
commit56e57cbf8690527f3871deeb888ee1ea07a84a29 (patch)
tree8f7d763ae3bf39adb81cc979ccd06943cd595efc /sys/arch/amd64/stand/boot
parenta0bc10624259429926bc42709cfdef47ba1a275e (diff)
sys/lib/libz isn't configured for lazy optimizations to save space because
those options are incompatible with the kernel anymore. Set DYNAMIC_CRC_TABLE and BUILDFIXED for these bootblocks, to save space on the media ok tb mlarkin
Diffstat (limited to 'sys/arch/amd64/stand/boot')
-rw-r--r--sys/arch/amd64/stand/boot/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/amd64/stand/boot/Makefile b/sys/arch/amd64/stand/boot/Makefile
index 301b095f583..e2a9d154fc0 100644
--- a/sys/arch/amd64/stand/boot/Makefile
+++ b/sys/arch/amd64/stand/boot/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.47 2020/08/02 15:38:48 deraadt Exp $
+# $OpenBSD: Makefile,v 1.48 2021/07/08 20:04:56 deraadt Exp $
COPTS?=
MAN?= boot.8
@@ -78,7 +78,7 @@ NOPROG=
CPPFLAGS+=-DSOFTRAID
.endif
CPPFLAGS+=-DBOOTMAGIC=$(BOOTMAGIC) ${DEBUGFLAGS} -DLINKADDR=${LINKADDR}
-CPPFLAGS+=-DSLOW -DSMALL -DNOBYFOUR -DNO_GZIP -DDYNAMIC_CRC_TABLE
+CPPFLAGS+=-DSLOW -DSMALL -DNOBYFOUR -DNO_GZIP -DDYNAMIC_CRC_TABLE -DBUILDFIXED
CPPFLAGS+=-DHIBERNATE
CPPFLAGS+=-DHEAP_LIMIT=${HEAP_LIMIT} -I${S}/stand/boot #-DCOMPAT_UFS
CFLAGS+=-m32 $(SACFLAGS) -D__INTERNAL_LIBSA_CREAD -fno-pie