summaryrefslogtreecommitdiff
path: root/payloads/libpayload/Makefile.mk
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2024-10-13 07:50:10 +0200
committerElyes Haouas <ehaouas@noos.fr>2024-10-15 18:55:32 +0000
commit995e763f0921be994992b21dfdce0510003e0659 (patch)
tree699710a642fd3b45d41d4a24cd6f30d77a803922 /payloads/libpayload/Makefile.mk
parenta03e5456e68d8937f4c43ec112c1495ae26a6356 (diff)
payloads/libpayload: Add Wno-address-of-packed-member flag
Change-Id: I47d7b5af67563de96fb5d8c200ce186a3443728b Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/84756 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Jakub Czapiga <czapiga@google.com>
Diffstat (limited to 'payloads/libpayload/Makefile.mk')
-rw-r--r--payloads/libpayload/Makefile.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/payloads/libpayload/Makefile.mk b/payloads/libpayload/Makefile.mk
index c9cefb31ec..079fa325fe 100644
--- a/payloads/libpayload/Makefile.mk
+++ b/payloads/libpayload/Makefile.mk
@@ -79,7 +79,7 @@ CFLAGS += -nostdlib -fno-builtin -ffreestanding -fomit-frame-pointer
CFLAGS += -ffunction-sections -fdata-sections
CFLAGS += -Wall -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wvla
CFLAGS += -Wwrite-strings -Wredundant-decls -Wimplicit-fallthrough
-CFLAGS += -Wstrict-aliasing -Wshadow -Werror
+CFLAGS += -Wstrict-aliasing -Wshadow -Wno-address-of-packed-member -Werror
ifeq ($(CONFIG_LP_LTO),y)
CFLAGS += -flto