summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorNico Huber <nico.h@gmx.de>2022-06-02 23:22:45 +0200
committerFelix Held <felix-coreboot@felixheld.de>2022-06-10 14:08:57 +0000
commit0b2a63200549c079883957961545cadd11a1f298 (patch)
tree3738dbea66dc6178d7e5a02ca7fe43835c402045 /util
parent5d2b1e6e467d291b2aef9b192299692c5ad9c535 (diff)
downloadcoreboot-0b2a63200549c079883957961545cadd11a1f298.tar.gz
coreboot-0b2a63200549c079883957961545cadd11a1f298.tar.bz2
coreboot-0b2a63200549c079883957961545cadd11a1f298.zip
crossgcc/gnat.patch: Never treat warnings as errors
We used to disable individual warnings that are expected when building our GCC version with a newer one. Not all warnings can be disabled indvidually, though, and it's much easier to simply allow warnings. As a plus, we get the warnings in the log (in case anybody would ever look into it). Partially fixes building with host GCC 12.1. Change-Id: I8fafec4fc49db73b6dba311c775eea2cc92a9b48 Signed-off-by: Nico Huber <nico.h@gmx.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/64999 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'util')
-rw-r--r--util/crossgcc/patches/gcc-11.2.0_gnat.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/crossgcc/patches/gcc-11.2.0_gnat.patch b/util/crossgcc/patches/gcc-11.2.0_gnat.patch
index 2d7cecee245d..d249e32f8da3 100644
--- a/util/crossgcc/patches/gcc-11.2.0_gnat.patch
+++ b/util/crossgcc/patches/gcc-11.2.0_gnat.patch
@@ -5,7 +5,7 @@
# Extra flags to pass to recursive makes.
-COMMON_ADAFLAGS= -gnatpg
-+COMMON_ADAFLAGS= -gnatpg -gnatwGUR
++COMMON_ADAFLAGS= -gnatpg -gnatwn
ifeq ($(TREECHECKING),)
CHECKING_ADAFLAGS=
else