summaryrefslogtreecommitdiff
path: root/sys/arch/i386/stand/cdboot
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/i386/stand/cdboot
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/i386/stand/cdboot')
-rw-r--r--sys/arch/i386/stand/cdboot/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/i386/stand/cdboot/Makefile b/sys/arch/i386/stand/cdboot/Makefile
index 7ca7fb3f32f..cb575139010 100644
--- a/sys/arch/i386/stand/cdboot/Makefile
+++ b/sys/arch/i386/stand/cdboot/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.38 2020/08/02 15:39:05 deraadt Exp $
+# $OpenBSD: Makefile,v 1.39 2021/07/08 20:04:58 deraadt Exp $
MAN= cdboot.8
@@ -68,7 +68,7 @@ NOPROG=
CPPFLAGS+=-DSOFTRAID
CPPFLAGS+=-DBOOTMAGIC=$(BOOTMAGIC) ${DEBUGFLAGS}
CPPFLAGS+=-DLINKADDR=${LINKADDR}
-CPPFLAGS+=-DSLOW -DSMALL -DNOBYFOUR -DNO_GZIP -DDYNAMIC_CRC_TABLE
+CPPFLAGS+=-DSLOW -DSMALL -DNOBYFOUR -DNO_GZIP -DDYNAMIC_CRC_TABLE -DBUILDFIXED
CPPFLAGS+=-I${S}/stand/boot
CFLAGS+=${SACFLAGS} -D__INTERNAL_LIBSA_CREAD
CFLAGS+=-DOSREV=\"${OSREV}\" -DMACHINE=\"${MACHINE}\"