summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/vendorcode/amd/agesa/Makefile.inc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/vendorcode/amd/agesa/Makefile.inc b/src/vendorcode/amd/agesa/Makefile.inc
index b96af84d8c07..73a87a3c5a6c 100644
--- a/src/vendorcode/amd/agesa/Makefile.inc
+++ b/src/vendorcode/amd/agesa/Makefile.inc
@@ -11,6 +11,11 @@ libagesa-y =
libagesa-generic-ccopts += -D__LIBAGESA__
libagesa-generic-ccopts += -fno-zero-initialized-in-bss
libagesa-generic-ccopts += $(AGESA_INC) $(AGESA_AUTOINCLUDES)
+libagesa-generic-ccopts += -Wno-pragma-pack -Wno-unused-but-set-variable
+libagesa-generic-ccopts += -Wno-implicit-fallthrough
+
+romstage-generic-ccopts += -Wno-pragma-pack
+ramstage-generic-ccopts += -Wno-pragma-pack
AGESA_CFLAGS := -march=k8-sse3 -mtune=k8-sse3 -fno-strict-aliasing