Override these two booters with -Oz for clang since it produces smaller code

here.
This commit is contained in:
christos 2023-08-30 18:46:51 +00:00
parent 151e733117
commit a9d97cfcc6
2 changed files with 10 additions and 2 deletions

View File

@ -1,7 +1,11 @@
# $NetBSD: Makefile,v 1.4 2020/01/22 06:13:18 martin Exp $
# $NetBSD: Makefile,v 1.5 2023/08/30 18:46:51 christos Exp $
NOMAN=yes
.include <bsd.init.mk>
PROG= bootxx_msdos
FS= dosfs
CPPFLAGS=-DBOOT_FROM_FAT -DTERSE_ERROR -DSA_DOSFS_NO_BIG_PART_SUPPORT
.include <../Makefile.bootxx>
OPT_SIZE.clang += -Oz

View File

@ -1,7 +1,11 @@
# $NetBSD: Makefile,v 1.3 2009/11/18 21:02:16 dsl Exp $
# $NetBSD: Makefile,v 1.4 2023/08/30 18:46:52 christos Exp $
NOMAN=yes
.include <bsd.init.mk>
FS=ustarfs
BOOTXX_SECTORS=16
.include <../Makefile.bootxx>
OPT_SIZE.clang += -Oz