Add stuff to disable warning for %S
Add the customary warnings to disable format checking on armv7. Code move to new files, and the unconditional setting of WARNS to 6 provoked it on tinerbox...
This commit is contained in:
parent
8b49f4dd80
commit
5698b5c2b7
@ -13,9 +13,11 @@ CFLAGS+= -DEFI_BOOT1
|
||||
# seems to matter on arm64 where wchar_t defaults to an int instead
|
||||
# of a short. There's no good cast to use here so just ignore the
|
||||
# warnings for now.
|
||||
CWARNFLAGS.proto.c+= -Wno-format
|
||||
CWARNFLAGS.boot1.c+= -Wno-format
|
||||
|
||||
# Disable bogus alignment issues
|
||||
CWARNFLAGS.ufs_module.c += -Wno-format
|
||||
CWARNFLAGS.ufs_module.c += -Wno-cast-align
|
||||
|
||||
# Disable warnings that are currently incompatible with the zfs boot code
|
||||
|
Loading…
Reference in New Issue
Block a user