summaryrefslogtreecommitdiff
path: root/src/vendorcode/amd/pi/Makefile.inc
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2022-03-23 22:03:51 +0100
committerFelix Held <felix-coreboot@felixheld.de>2022-03-25 20:13:17 +0000
commitd683bf52e9f6340527cf088f4dd3f6fa1a9914c9 (patch)
tree9dbcd384f9fdd075ca1cc54786465a5ab09094ec /src/vendorcode/amd/pi/Makefile.inc
parent2fe012633a3bc35239947e19609447c36f4cd266 (diff)
vendorcode/amd/pi: Fix building with clang
Change-Id: I82913de07acc13af2f5f2c67853e112fb3c66319 Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/coreboot/+/63048 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src/vendorcode/amd/pi/Makefile.inc')
-rw-r--r--src/vendorcode/amd/pi/Makefile.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vendorcode/amd/pi/Makefile.inc b/src/vendorcode/amd/pi/Makefile.inc
index 75de398414..9b4659eac1 100644
--- a/src/vendorcode/amd/pi/Makefile.inc
+++ b/src/vendorcode/amd/pi/Makefile.inc
@@ -62,6 +62,7 @@ AGESA_INC += -I$(src)/commonlib/bsd/include
AGESA_INC += -I$(VBOOT_SOURCE)/firmware/include
AGESA_CFLAGS += -march=amdfam10 -mno-3dnow
+AGESA_CFLAGS += -Wno-pragma-pack
AGESA_CFLAGS += -fno-strict-aliasing -D__LIBAGESA__
CFLAGS_x86_32 += $(AGESA_CFLAGS)
CFLAGS_x86_64 += $(AGESA_CFLAGS)