From 0b2a63200549c079883957961545cadd11a1f298 Mon Sep 17 00:00:00 2001 From: Nico Huber Date: Thu, 2 Jun 2022 23:22:45 +0200 Subject: 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/64999 Tested-by: build bot (Jenkins) Reviewed-by: Elyes Haouas Reviewed-by: Arthur Heymans --- util/crossgcc/patches/gcc-11.2.0_gnat.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util') diff --git a/util/crossgcc/patches/gcc-11.2.0_gnat.patch b/util/crossgcc/patches/gcc-11.2.0_gnat.patch index 2d7cecee24..d249e32f8d 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 -- cgit v1.2.3