From e06e9197b8c5811694cac2ee370bb0cb9288be73 Mon Sep 17 00:00:00 2001 From: Nico Huber Date: Thu, 27 Jun 2019 22:53:47 +0200 Subject: [PATCH] lib/gnat: Use ADAFLAGS instead of CFLAGS Commit 6d7564cdfe (Move -Wlogical-op into xcompile) introduced GCC_ADAFLAGS_ but forgot to use them for libgnat. Fix that. Change-Id: Ia9079f01bb3c2a08296a3d3cc32fdf4ae5bb60c7 Signed-off-by: Nico Huber Reviewed-on: https://review.coreboot.org/c/coreboot/+/33847 Reviewed-by: Patrick Georgi Reviewed-by: Angel Pons Reviewed-by: HAOUAS Elyes Tested-by: build bot (Jenkins) --- src/lib/gnat/Makefile.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/gnat/Makefile.inc b/src/lib/gnat/Makefile.inc index 3f22c0e8e1..c8886ec0aa 100644 --- a/src/lib/gnat/Makefile.inc +++ b/src/lib/gnat/Makefile.inc @@ -24,7 +24,7 @@ ADAFLAGS_libgnat-$(1) := \ -gnatg \ -gnatpg \ -I$$(src)/lib/gnat/ \ - $$(GCC_CFLAGS_$(1)) \ + $$(GCC_ADAFLAGS_$(1)) \ libgnat-$(1)-y += a-unccon.ads libgnat-$(1)-y += ada.ads