aboutsummaryrefslogtreecommitdiff
path: root/stand/efi/boot1/Makefile
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2019-06-08 19:58:58 +0000
committerWarner Losh <imp@FreeBSD.org>2019-06-08 19:58:58 +0000
commit5698b5c2b7fff90e247cd456a1e8474c41788f36 (patch)
treeeb17b68fab46aece3bae216bba7f68026492df07 /stand/efi/boot1/Makefile
parent8b49f4dd80c601354fa852838357351cf5d75c64 (diff)
downloadsrc-5698b5c2b7fff90e247cd456a1e8474c41788f36.tar.gz
src-5698b5c2b7fff90e247cd456a1e8474c41788f36.zip
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...
Notes
Notes: svn path=/head/; revision=348814
Diffstat (limited to 'stand/efi/boot1/Makefile')
-rw-r--r--stand/efi/boot1/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/stand/efi/boot1/Makefile b/stand/efi/boot1/Makefile
index 33d60d8eae57..d9d46673250a 100644
--- a/stand/efi/boot1/Makefile
+++ b/stand/efi/boot1/Makefile
@@ -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