* [Ada] Make sure generated files are created first
@ 2015-10-09 8:16 Eric Botcazou
0 siblings, 0 replies; only message in thread
From: Eric Botcazou @ 2015-10-09 8:16 UTC (permalink / raw)
To: gcc-patches
[-- Attachment #1: Type: text/plain, Size: 375 bytes --]
As reported by Alan L., we need to make sure that the generated files are
created before gigi is compiled.
Tested on x86_64-suse-linux, applied on all branches.
2015-10-09 Eric Botcazou <ebotcazou@adacore.com>
* gcc-interface/Make-lang.in: Make sure that GNAT1_OBJS and not just
GNAT1_ADA_OBJS are compiled only after generated files are created.
--
Eric Botcazou
[-- Attachment #2: p.diff --]
[-- Type: text/x-patch, Size: 674 bytes --]
Index: gcc-interface/Make-lang.in
===================================================================
--- gcc-interface/Make-lang.in (revision 228597)
+++ gcc-interface/Make-lang.in (working copy)
@@ -1026,7 +1026,7 @@ ada_generated_files = ada/sinfo.h ada/ei
# When building from scratch we don't have dependency files, the only thing
# we need to ensure is that the generated files are created first.
-$(GNAT1_ADA_OBJS) $(GNATBIND_OBJS): | $(ada_generated_files)
+$(GNAT1_OBJS) $(GNATBIND_OBJS): | $(ada_generated_files)
# Manually include the auto-generated dependencies for the Ada host objects.
ADA_DEPFILES = $(foreach obj,$(GNAT1_ADA_OBJS) $(GNATBIND_OBJS),\
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-10-09 8:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-09 8:16 [Ada] Make sure generated files are created first Eric Botcazou
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).