summaryrefslogtreecommitdiff
path: root/payloads/libpayload/arch/mock/Makefile.inc
diff options
context:
space:
mode:
authorJakub Czapiga <jacz@semihalf.com>2021-12-16 13:11:10 +0000
committerFelix Held <felix-coreboot@felixheld.de>2021-12-20 17:47:50 +0000
commitf490d48b5ce69f8b60411228524ecc1637b15181 (patch)
treefc71d0794f074a656f230614a697a7f5cab9285c /payloads/libpayload/arch/mock/Makefile.inc
parenta7e85d43c858f063a9179c7865aef6ee32158c49 (diff)
libpayload: Add -Wno-address-of-packed-member for ARCH_MOCK
When compiling libpayload using x86_64 toolchain for ARCH_MOCK compiler reports an error about gerring address of packed member. Until now it had to be disabled by passing -Wno-address-of-packed-member to EXTRA_CFLAGS. This patch disables this warning. Change-Id: I9a948fabe66f7297632ecaca8ec1bfa5c842b750 Signed-off-by: Jakub Czapiga <jacz@semihalf.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/60169 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'payloads/libpayload/arch/mock/Makefile.inc')
-rw-r--r--payloads/libpayload/arch/mock/Makefile.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/payloads/libpayload/arch/mock/Makefile.inc b/payloads/libpayload/arch/mock/Makefile.inc
index f15f0f9f1d..415886af60 100644
--- a/payloads/libpayload/arch/mock/Makefile.inc
+++ b/payloads/libpayload/arch/mock/Makefile.inc
@@ -5,3 +5,5 @@ head.o-y += head.c
libc-y += virtual.c
libcbfs-$(CONFIG_LP_CBFS) += mock_media.c
+
+CFLAGS += -Wno-address-of-packed-member