From 56e57cbf8690527f3871deeb888ee1ea07a84a29 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Thu, 8 Jul 2021 20:04:59 +0000 Subject: 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 --- sys/arch/amd64/stand/boot/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/arch/amd64/stand/boot') 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 -- cgit v1.2.3