From 7eb009a2ef4f7e0772948320a94fba126516d2d9 Mon Sep 17 00:00:00 2001 From: Nico Huber Date: Thu, 27 Jun 2019 22:58:18 +0200 Subject: lib/gnat: Enable -Werror We want to catch warnings as early as possible. Change-Id: Ifdb2ff8f7973d557a437ac127e073306f76ca6f6 Signed-off-by: Nico Huber Reviewed-on: https://review.coreboot.org/c/coreboot/+/33848 Reviewed-by: Patrick Georgi Reviewed-by: Angel Pons Reviewed-by: HAOUAS Elyes Tested-by: build bot (Jenkins) --- src/lib/gnat/Makefile.inc | 1 + 1 file changed, 1 insertion(+) (limited to 'src/lib') 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 -- cgit v1.2.3