aboutsummaryrefslogtreecommitdiff
path: root/stand/efi/boot1/Makefile
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2019-06-05 00:08:30 +0000
committerWarner Losh <imp@FreeBSD.org>2019-06-05 00:08:30 +0000
commit92fb04661f1a8a3ae059b8a4973834e2fd449cf6 (patch)
tree3a238b98b978577bad79c9069dfeb0138214ed4a /stand/efi/boot1/Makefile
parentcf461fdb1dc9ba4b4a20920e73f388e69055bd02 (diff)
downloadsrc-92fb04661f1a8a3ae059b8a4973834e2fd449cf6.tar.gz
src-92fb04661f1a8a3ae059b8a4973834e2fd449cf6.zip
ufs_module.c can't currently be compiled with -Wcast-align, but the
code is safe enough. Turn off the warning for now until I can find the right construct to silence it in the code.
Notes
Notes: svn path=/head/; revision=348675
Diffstat (limited to 'stand/efi/boot1/Makefile')
-rw-r--r--stand/efi/boot1/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/stand/efi/boot1/Makefile b/stand/efi/boot1/Makefile
index eb17b41eaa3f..cb201a471b8a 100644
--- a/stand/efi/boot1/Makefile
+++ b/stand/efi/boot1/Makefile
@@ -15,6 +15,9 @@ CFLAGS+= -DEFI_BOOT1
# warnings for now.
CWARNFLAGS.boot1.c+= -Wno-format
+# Disable bogus alignment issues
+CWARNFLAGS.ufs_module.c += -Wno-cast-align
+
# Disable warnings that are currently incompatible with the zfs boot code
CWARNFLAGS.zfs_module.c += -Wno-array-bounds
CWARNFLAGS.zfs_module.c += -Wno-cast-align