Suppress spurious address-of-packed error in rump lfs too.

This commit is contained in:
riastradh 2020-03-21 18:58:43 +00:00
parent ae4dfbfab6
commit 26051592c4

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.14 2016/03/23 21:38:51 christos Exp $
# $NetBSD: Makefile,v 1.15 2020/03/21 18:58:43 riastradh Exp $
#
.PATH: ${.CURDIR}/../../../../ufs/lfs
@ -21,5 +21,10 @@ CFLAGS+= -DLFS_KERNEL_RFW
COPTS.lfs_inode.c+=-O0
.endif
# Follow the suit of Makefile.kern.inc; needed for the lfs64 union
# accessors -- they don't actually dereference the resulting pointer,
# just use it for type-checking.
CWARNFLAGS.clang+= -Wno-error=address-of-packed-member
.include <bsd.lib.mk>
.include <bsd.klinks.mk>