soc/amd/pi: Use -Wno-pragma-pack

Agesa headers extensively use and override pragma pack which fails to
compile with clang.

Change-Id: Ib234be536388f41d63c2d26cac4c35881af25930
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/63054
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Raul Rangel <rrangel@chromium.org>
This commit is contained in:
Arthur Heymans 2022-03-23 22:28:16 +01:00 committed by Felix Held
parent 457785b820
commit ee1641f066
1 changed files with 3 additions and 0 deletions

View File

@ -16,4 +16,7 @@ ramstage-y += image.c
ramstage-y += refcode_loader.c ramstage-y += refcode_loader.c
ramstage-y += s3_resume.c ramstage-y += s3_resume.c
CFLAGS_x86_32 += -Wno-pragma-pack
CFLAGS_x86_64 += -Wno-pragma-pack
endif # CONFIG_SOC_AMD_PI endif # CONFIG_SOC_AMD_PI