From a1d3d0a7ad24a19cfae20eb323854d6f76dba999 Mon Sep 17 00:00:00 2001 From: Philip Herron Date: Thu, 15 Oct 2020 14:58:21 +0100 Subject: [PATCH] When compiling with GCC we hit compilation error of taking address of packed member. This adds -Wno-address-of-packed-member to avoid this warning. --- mk/kern.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mk/kern.mk b/mk/kern.mk index 979e0a2f4..dabfa7cf9 100644 --- a/mk/kern.mk +++ b/mk/kern.mk @@ -35,7 +35,7 @@ CWARNEXTRA?= -Wno-error-tautological-compare -Wno-error-empty-body \ endif ifeq (${COMPILER_TYPE},gcc) -CWARNEXTRA?= -Wno-unused-but-set-variable +CWARNEXTRA?= -Wno-unused-but-set-variable -Wno-address-of-packed-member endif #