From a900519495945ba8d61b8f0527c5fa918e71693c Mon Sep 17 00:00:00 2001 From: Arnaud Charlet Date: Wed, 1 Jul 2020 04:53:39 -0400 Subject: [PATCH] [Ada] Clean up in system.ads dependencies during compiler build gcc/ada/ * gcc-interface/Make-lang.in: Update dependencies on system.ads, add gnatbind switch -t to avoid timestamp inconsistencies during build. * libgnat/system.ads: Move... * gcc-interface/system.ads: ... here. --- gcc/ada/gcc-interface/Make-lang.in | 11 ++++++----- gcc/ada/{libgnat => gcc-interface}/system.ads | 0 2 files changed, 6 insertions(+), 5 deletions(-) rename gcc/ada/{libgnat => gcc-interface}/system.ads (100%) diff --git a/gcc/ada/gcc-interface/Make-lang.in b/gcc/ada/gcc-interface/Make-lang.in index 7d2ea52dce5..d9502179c98 100644 --- a/gcc/ada/gcc-interface/Make-lang.in +++ b/gcc/ada/gcc-interface/Make-lang.in @@ -68,7 +68,7 @@ ALL_ADAFLAGS = \ $(CFLAGS) $(ADA_CFLAGS) $(ADAFLAGS) $(CHECKING_ADAFLAGS) $(WARN_ADAFLAGS) FORCE_DEBUG_ADAFLAGS = -g ADA_CFLAGS = -ADA_INCLUDES = -nostdinc -I- -I. -Iada/generated -Iada -I$(srcdir)/ada -I$(srcdir)/ada/gcc-interface -Iada/libgnat -I$(srcdir)/ada/libgnat +ADA_INCLUDES = -nostdinc -I- -I. -Iada/generated -Iada -Iada/gcc-interface -I$(srcdir)/ada -I$(srcdir)/ada/gcc-interface -Iada/libgnat -I$(srcdir)/ada/libgnat GNATLIBFLAGS= -W -Wall -gnatpg -nostdinc GNATLIBCFLAGS= -g -O2 $(TCFLAGS) ADA_INCLUDE_DIR = $(libsubdir)/adainclude @@ -469,7 +469,7 @@ GNAT_ADA_OBJS = \ ada/stylesw.o \ ada/switch-c.o \ ada/switch.o \ - ada/libgnat/system.o \ + ada/gcc-interface/system.o \ ada/table.o \ ada/targparm.o \ ada/tbuild.o \ @@ -627,7 +627,7 @@ GNATBIND_OBJS = \ ada/stylesw.o \ ada/switch-b.o \ ada/switch.o \ - ada/libgnat/system.o \ + ada/gcc-interface/system.o \ ada/table.o \ ada/targext.o \ ada/targparm.o \ @@ -1038,8 +1038,9 @@ ada/sdefault.o : ada/libgnat/ada.ads ada/libgnat/a-except.ads ada/libgnat/a-uncc ada/libgnat/s-exctab.ads ada/libgnat/s-memory.ads ada/libgnat/s-os_lib.ads ada/libgnat/s-parame.ads \ ada/libgnat/s-stalib.ads ada/libgnat/s-strops.ads ada/libgnat/s-sopco3.ads ada/libgnat/s-sopco4.ads \ ada/libgnat/s-sopco5.ads ada/libgnat/s-string.ads ada/libgnat/s-traent.ads ada/libgnat/s-unstyp.ads \ - ada/libgnat/s-wchcon.ads ada/libgnat/system.ads ada/table.adb ada/table.ads \ - ada/types.ads ada/libgnat/unchdeal.ads ada/libgnat/unchconv.ads + ada/libgnat/s-wchcon.ads ada/table.adb ada/table.ads \ + ada/types.ads ada/libgnat/unchdeal.ads ada/libgnat/unchconv.ads \ + ada/gcc-interface/system.ads # Special flags - see gcc-interface/Makefile.in for the template. diff --git a/gcc/ada/libgnat/system.ads b/gcc/ada/gcc-interface/system.ads similarity index 100% rename from gcc/ada/libgnat/system.ads rename to gcc/ada/gcc-interface/system.ads -- 2.30.2