Override these two booters with -Oz for clang since it produces smaller code
here.
This commit is contained in:
parent
151e733117
commit
a9d97cfcc6
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue