super-intel often takes the address of a packed member, and seems to work. So suppress this warning. (Earlier gcc ignore the new flag) Signed-off-by: NeilBrown <neilb@xxxxxxx> --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index dfe00b0a0be8..0768cc5b566e 100644 --- a/Makefile +++ b/Makefile @@ -48,7 +48,7 @@ endif CC ?= $(CROSS_COMPILE)gcc CXFLAGS ?= -ggdb -CWFLAGS = -Wall -Werror -Wstrict-prototypes -Wextra -Wno-unused-parameter +CWFLAGS = -Wall -Werror -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wno-address-of-packed-member ifdef WARN_UNUSED CWFLAGS += -Wp,-D_FORTIFY_SOURCE=2 -O3 endif -- 2.23.0
Attachment:
signature.asc
Description: PGP signature