summaryrefslogtreecommitdiffstats
path: root/src/soc/amd/common
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2022-03-23 22:28:16 +0100
committerFelix Held <felix-coreboot@felixheld.de>2022-03-25 20:06:04 +0000
commitee1641f066b68eb6dd008728ae8f791eba795dcd (patch)
tree17972e52822ede7c1d19b4bdbd1969aab967f54d /src/soc/amd/common
parent457785b820fc7c15cf2b53795e63e17047ab8a64 (diff)
downloadcoreboot-ee1641f066b68eb6dd008728ae8f791eba795dcd.tar.gz
coreboot-ee1641f066b68eb6dd008728ae8f791eba795dcd.tar.bz2
coreboot-ee1641f066b68eb6dd008728ae8f791eba795dcd.zip
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>
Diffstat (limited to 'src/soc/amd/common')
-rw-r--r--src/soc/amd/common/pi/Makefile.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/soc/amd/common/pi/Makefile.inc b/src/soc/amd/common/pi/Makefile.inc
index 55fbd95cc86a..8646b0bb1e93 100644
--- a/src/soc/amd/common/pi/Makefile.inc
+++ b/src/soc/amd/common/pi/Makefile.inc
@@ -16,4 +16,7 @@ ramstage-y += image.c
ramstage-y += refcode_loader.c
ramstage-y += s3_resume.c
+CFLAGS_x86_32 += -Wno-pragma-pack
+CFLAGS_x86_64 += -Wno-pragma-pack
+
endif # CONFIG_SOC_AMD_PI