lib/gnat: Enable -Werror

We want to catch warnings as early as possible.

Change-Id: Ifdb2ff8f7973d557a437ac127e073306f76ca6f6
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/33848
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Nico Huber 2019-06-27 22:58:18 +02:00
parent e06e9197b8
commit 7eb009a2ef
1 changed files with 1 additions and 0 deletions

View File

@ -25,6 +25,7 @@ ADAFLAGS_libgnat-$(1) := \
-gnatpg \ -gnatpg \
-I$$(src)/lib/gnat/ \ -I$$(src)/lib/gnat/ \
$$(GCC_ADAFLAGS_$(1)) \ $$(GCC_ADAFLAGS_$(1)) \
-Werror \
libgnat-$(1)-y += a-unccon.ads libgnat-$(1)-y += a-unccon.ads
libgnat-$(1)-y += ada.ads libgnat-$(1)-y += ada.ads