libpayload: Add -Wno-address-of-packed-member for ARCH_MOCK

Hardware / Coreboot - Jakub Czapiga [semihalf.com] - 20 December 2021 17:47 UTC

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

f490d48b5c libpayload: Add -Wno-address-of-packed-member for ARCH_MOCK
payloads/libpayload/arch/mock/Makefile.inc | 2 ++
1 file changed, 2 insertions(+)

Upstream: review.coreboot.org


  • Share