Make-lang.in: Make sure that GNAT1_OBJS and not just GNAT1_ADA_OBJS are compiled...
authorEric Botcazou <ebotcazou@adacore.com>
Fri, 9 Oct 2015 08:13:33 +0000 (08:13 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Fri, 9 Oct 2015 08:13:33 +0000 (08:13 +0000)
* gcc-interface/Make-lang.in: Make sure that GNAT1_OBJS and not just
GNAT1_ADA_OBJS are compiled only after generated files are created.

From-SVN: r228636

gcc/ada/ChangeLog
gcc/ada/gcc-interface/Make-lang.in

index 7f4a55df86e14f80121c973d9dac362589d5f2f5..137cdfe782fbb964557509753e26b1521d8936f5 100644 (file)
@@ -1,3 +1,8 @@
+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.
+
 2015-10-05  Richard Sandiford  <richard.sandiford@arm.com>
 
        * gcc-interface/trans.c (convert_with_check): Use real_arithmetic
index 77abd2b0b5ac869add07549945c316522c4a2041..261194354393df85952c415ad37f2516ce2901e8 100644 (file)
@@ -1026,7 +1026,7 @@ ada_generated_files = ada/sinfo.h ada/einfo.h ada/nmake.adb ada/nmake.ads \
 
 # 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),\