summaryrefslogtreecommitdiff
path: root/src/lib/gnat
diff options
context:
space:
mode:
authorNico Huber <nico.h@gmx.de>2017-09-03 23:42:58 +0200
committerNico Huber <nico.h@gmx.de>2017-09-23 10:57:40 +0000
commit1850aa6df6a324960bd0873277660d84562cdb61 (patch)
treeed1e44a1d0e4bd715fead2e1aed8e636e764e01d /src/lib/gnat
parent5218533ae7cb5c52f07b60a8c08a5ac3d8f37f7c (diff)
toolchain: Always use GCC for Ada sources
We can't use $(CC) in case it's set to Clang. TEST=Built one target with Ada sources before and after this change and verified that the same compiler commands are emitted. Change-Id: I9b8ea35352d74b364f09fc12d8d981ca42f8b7c8 Signed-off-by: Nico Huber <nico.h@gmx.de> Reviewed-on: https://review.coreboot.org/21366 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/lib/gnat')
-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 5c4c510f7e..3f22c0e8e1 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/ \
- $$(CFLAGS_$(1)) \
+ $$(GCC_CFLAGS_$(1)) \
libgnat-$(1)-y += a-unccon.ads
libgnat-$(1)-y += ada.ads