mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-01 14:14:56 +00:00
boot/efi: Fix warning for non-standard formats when debugging
Add -Wno-format for zfs_module and regroup. This fixes warnings when EFI_DEBUG is defined. PR: 279071 Reviewed-by: imp
This commit is contained in:
parent
97ab935d56
commit
cadc9c7db7
|
@ -12,11 +12,12 @@ 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
|
||||
CWARNFLAGS.proto.c += -Wno-format
|
||||
CWARNFLAGS.boot1.c += -Wno-format
|
||||
CWARNFLAGS.ufs_module.c += -Wno-format
|
||||
CWARNFLAGS.zfs_module.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 a new issue