summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNico Huber <nico.h@gmx.de>2019-06-27 22:58:18 +0200
committerNico Huber <nico.h@gmx.de>2019-06-28 08:42:16 +0000
commit7eb009a2ef4f7e0772948320a94fba126516d2d9 (patch)
tree9e0958223b92f58ab82a691620cb528bf90c5fb3 /src
parente06e9197b8c5811694cac2ee370bb0cb9288be73 (diff)
downloadcoreboot-7eb009a2ef4f7e0772948320a94fba126516d2d9.tar.xz
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>
Diffstat (limited to 'src')
-rw-r--r--src/lib/gnat/Makefile.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/gnat/Makefile.inc b/src/lib/gnat/Makefile.inc
index c8886ec0aa..ebd04862bf 100644
--- a/src/lib/gnat/Makefile.inc
+++ b/src/lib/gnat/Makefile.inc
@@ -25,6 +25,7 @@ ADAFLAGS_libgnat-$(1) := \
-gnatpg \
-I$$(src)/lib/gnat/ \
$$(GCC_ADAFLAGS_$(1)) \
+ -Werror \
libgnat-$(1)-y += a-unccon.ads
libgnat-$(1)-y += ada.ads