From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1499) id ACF8938B3438; Tue, 11 Jan 2022 19:24:08 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org ACF8938B3438 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Gaius Mulley To: gcc-cvs@gcc.gnu.org Subject: [gcc/devel/modula-2] Fix to parallel builds by adding dependencies to gcc/m2/Make-lang.in. X-Act-Checkin: gcc X-Git-Author: Gaius Mulley X-Git-Refname: refs/heads/devel/modula-2 X-Git-Oldrev: a1264715882d5d6a5028d211ab9d58bafac9366b X-Git-Newrev: c6cdf493ee7fa138567822033e3b4a72f6f0574e Message-Id: <20220111192408.ACF8938B3438@sourceware.org> Date: Tue, 11 Jan 2022 19:24:08 +0000 (GMT) X-BeenThere: gcc-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Jan 2022 19:24:08 -0000 https://gcc.gnu.org/g:c6cdf493ee7fa138567822033e3b4a72f6f0574e commit c6cdf493ee7fa138567822033e3b4a72f6f0574e Author: Gaius Mulley Date: Tue Jan 11 19:21:06 2022 +0000 Fix to parallel builds by adding dependencies to gcc/m2/Make-lang.in. gcc/m2/ChangeLog: * Make-lang.in (m2/gm2spec.o): Added $(LIBS) to the dependants. (stage1/m2/gm2l): Added $(LIBS) to the dependants. (stage1/m2/gm2lcc): Added $(LIBS) to the dependants. (stage1/m2/gm2lgen): Added $(LIBS) to the dependants. (stage1/m2/gm2lorder): Added $(LIBS) to the dependants. (stage1/m2/gm2m): Added $(LIBS) to the dependants. Signed-off-by: Gaius Mulley Diff: --- gcc/m2/Make-lang.in | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/gcc/m2/Make-lang.in b/gcc/m2/Make-lang.in index 4b2803eb4ab..423ede9a130 100644 --- a/gcc/m2/Make-lang.in +++ b/gcc/m2/Make-lang.in @@ -96,7 +96,8 @@ LIBSTDCXX=../$(TARGET_SUBDIR)/libstdc++-v3/src/.libs/libstdc++.a SRC_PREFIX=G m2/gm2spec.o: $(srcdir)/m2/gm2spec.c $(SYSTEM_H) $(GCC_H) $(CONFIG_H) \ - m2/gm2config.h $(TARGET_H) $(PLUGIN_HEADERS) $(generated_files) + m2/gm2config.h $(TARGET_H) $(PLUGIN_HEADERS) \ + $(generated_files) $(C_TREE_H) (SHLIB_LINK='$(SHLIB_LINK)' \ SHLIB_MULTILIB='$(SHLIB_MULTILIB)'; \ $(COMPILER) $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) \ @@ -1738,7 +1739,7 @@ stage1/m2/gm2l$(exeext): \ m2/gm2-ici-boot/M2Emit.o \ m2/gm2-libs-boot/libgm2.a m2/gm2-compiler-boot/gm2l.o \ m2/gm2-ici/m2flex.o \ - $(GCC_COLOR) $(GM2_LIBS_BOOT) $(MC_LIBS) + $(GCC_COLOR) $(GM2_LIBS_BOOT) $(MC_LIBS) $(LIBS) unset CC ; $(M2LINK) -s --g++ --exit --name gm2l_init.c $(srcdir)/m2/init/gm2linit mv gm2l_init.c m2/gm2-compiler-boot/gm2l_init.c $(COMPILER) -c -g m2/gm2-compiler-boot/gm2l_init.c -o m2/gm2-compiler-boot/gm2l_init.o @@ -1755,7 +1756,7 @@ stage1/m2/gm2lcc$(exeext): \ m2/gm2-ici/m2flex.o \ m2/gm2-ici-boot/m2linemap.o \ m2/gm2-libs-boot/libgm2.a m2/gm2-compiler-boot/gm2lcc.o \ - $(GCC_COLOR) $(GM2_LIBS_BOOT) $(MC_LIBS) + $(GCC_COLOR) $(GM2_LIBS_BOOT) $(MC_LIBS) $(LIBS) unset CC ; $(M2LINK) -s --g++ --exit --name gm2lcc_init.c $(srcdir)/m2/init/gm2lccinit mv gm2lcc_init.c m2/gm2-compiler-boot/gm2lcc_init.c $(COMPILER) -c -g m2/gm2-compiler-boot/gm2lcc_init.c -o m2/gm2-compiler-boot/gm2lcc_init.o @@ -1772,7 +1773,7 @@ stage1/m2/gm2lgen$(exeext): \ m2/gm2-ici/m2flex.o \ m2/gm2-ici-boot/m2linemap.o \ m2/gm2-libs-boot/libgm2.a m2/gm2-compiler-boot/gm2lgen.o \ - $(GCC_COLOR) $(GM2_LIBS_BOOT) $(MC_LIBS) + $(GCC_COLOR) $(GM2_LIBS_BOOT) $(MC_LIBS) $(LIBS) unset CC ; $(M2LINK) -s --g++ --exit --name gm2lgen_init.c $(srcdir)/m2/init/gm2lgeninit mv gm2lgen_init.c m2/gm2-compiler-boot/gm2lgen_init.c $(COMPILER) -c -g m2/gm2-compiler-boot/gm2lgen_init.c -o m2/gm2-compiler-boot/gm2lgen_init.o @@ -1789,7 +1790,7 @@ stage1/m2/gm2lorder$(exeext): \ m2/gm2-ici-boot/M2Emit.o \ m2/gm2-ici/m2flex.o \ m2/gm2-ici-boot/m2linemap.o \ - $(GCC_COLOR) $(GM2_LIBS_BOOT) $(MC_LIBS) + $(GCC_COLOR) $(GM2_LIBS_BOOT) $(MC_LIBS) $(LIBS) unset CC ; $(M2LINK) -s --g++ --exit --name gm2lorder_init.c $(srcdir)/m2/init/gm2lorderinit mv gm2lorder_init.c m2/gm2-compiler-boot/gm2lorder_init.c $(COMPILER) -c -g m2/gm2-compiler-boot/gm2lorder_init.c -o m2/gm2-compiler-boot/gm2lorder_init.o @@ -1806,7 +1807,7 @@ stage1/m2/gm2m$(exeext): \ m2/gm2-ici-boot/M2Emit.o \ m2/gm2-ici/m2flex.o \ m2/gm2-ici-boot/m2linemap.o \ - $(GCC_COLOR) $(GM2_LIBS_BOOT) $(MC_LIBS) + $(GCC_COLOR) $(GM2_LIBS_BOOT) $(MC_LIBS) $(LIBS) unset CC ; $(M2LINK) -s --g++ --exit --name gm2m_init.c $(srcdir)/m2/init/gm2minit mv gm2m_init.c m2/gm2-compiler-boot/gm2m_init.c $(COMPILER) -c -g m2/gm2-compiler-boot/gm2m_init.c -o m2/gm2-compiler-boot/gm2m_init.o