summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNico Huber <nico.h@gmx.de>2019-06-27 22:53:47 +0200
committerNico Huber <nico.h@gmx.de>2019-06-28 08:41:51 +0000
commite06e9197b8c5811694cac2ee370bb0cb9288be73 (patch)
treeed2779b462166f1c0a15d317daa7ea8f61949644 /src
parentefc39cbec787b9447669c29e664e9ac74c476783 (diff)
downloadcoreboot-e06e9197b8c5811694cac2ee370bb0cb9288be73.tar.xz
lib/gnat: Use ADAFLAGS instead of CFLAGS
Commit 6d7564cdfe (Move -Wlogical-op into xcompile) introduced GCC_ADAFLAGS_<arch> but forgot to use them for libgnat. Fix that. Change-Id: Ia9079f01bb3c2a08296a3d3cc32fdf4ae5bb60c7 Signed-off-by: Nico Huber <nico.h@gmx.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/33847 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.inc2
1 files changed, 1 insertions, 1 deletions
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