Module Name: src Committed By: christos Date: Sun Oct 18 14:36:43 UTC 2020
Modified Files: src/sys/modules/pf: Makefile Log Message: Avoid alignment of packed member To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/sys/modules/pf/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/modules/pf/Makefile diff -u src/sys/modules/pf/Makefile:1.12 src/sys/modules/pf/Makefile:1.13 --- src/sys/modules/pf/Makefile:1.12 Sun Sep 29 19:45:00 2019 +++ src/sys/modules/pf/Makefile Sun Oct 18 10:36:43 2020 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2019/09/29 23:45:00 mrg Exp $ +# $NetBSD: Makefile,v 1.13 2020/10/18 14:36:43 christos Exp $ .include "../Makefile.inc" @@ -25,5 +25,8 @@ WARNS= 3 .if defined(HAVE_GCC) && ${HAVE_GCC} >= 7 && ${ACTIVE_CC} == "gcc" COPTS.pf.c+= -Wno-error=implicit-fallthrough .endif +COPTS.pf.c += -Wno-error=address-of-packed-member +COPTS.pf_norm.c += -Wno-error=address-of-packed-member +COPTS.pf_table.c += -Wno-error=address-of-packed-member .include <bsd.kmodule.mk>