Jakub Czapiga has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/60169 )
Change subject: libpayload: Add -Wno-address-of-packed-member for ARCH_MOCK ......................................................................
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 --- M payloads/libpayload/arch/mock/Makefile.inc 1 file changed, 2 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/69/60169/1
diff --git a/payloads/libpayload/arch/mock/Makefile.inc b/payloads/libpayload/arch/mock/Makefile.inc index f15f0f9..415886a 100644 --- a/payloads/libpayload/arch/mock/Makefile.inc +++ b/payloads/libpayload/arch/mock/Makefile.inc @@ -5,3 +5,5 @@ libc-y += virtual.c
libcbfs-$(CONFIG_LP_CBFS) += mock_media.c + +CFLAGS += -Wno-address-of-packed-member