public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-5094] Adding missing dependencies to gcc/m2/Make-lang.in
@ 2023-01-10 18:51 Gaius Mulley
  0 siblings, 0 replies; only message in thread
From: Gaius Mulley @ 2023-01-10 18:51 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:e9a39ad7936815980013605b052b12425d56ead8

commit r13-5094-ge9a39ad7936815980013605b052b12425d56ead8
Author: Gaius Mulley <gaiusmod2@gmail.com>
Date:   Tue Jan 10 18:49:03 2023 +0000

    Adding missing dependencies to gcc/m2/Make-lang.in
    
    The dependency m2/gm2-libs/gm2-libs-host.h is missing from
    two m2/mc-boot rules.
    
    gcc/m2/ChangeLog:
    
            * Make-lang.in (m2/mc-boot/$(SRC_PREFIX)%.o): Add
            m2/gm2-libs/gm2-libs-host.h dependency.
            (m2/mc-boot-ch/$(SRC_PREFIX)%.o): Add
            m2/gm2-libs/gm2-libs-host.h dependency.
    
    Signed-off-by: Gaius Mulley <gaiusmod2@gmail.com>

Diff:
---
 gcc/m2/Make-lang.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gcc/m2/Make-lang.in b/gcc/m2/Make-lang.in
index a3751109481..63ae5cb8618 100644
--- a/gcc/m2/Make-lang.in
+++ b/gcc/m2/Make-lang.in
@@ -1316,7 +1316,7 @@ m2/boot-bin/mc$(exeext): $(BUILD-MC-BOOT-O) $(BUILD-MC-INTERFACE-O) \
          $(BUILD-MC-INTERFACE-O) m2/mc-boot/main.o \
          mcflex.o m2/gm2-libs-boot/RTcodummy.o -lm
 
-m2/mc-boot/$(SRC_PREFIX)%.o: m2/mc-boot/$(SRC_PREFIX)%.c
+m2/mc-boot/$(SRC_PREFIX)%.o: m2/mc-boot/$(SRC_PREFIX)%.c m2/gm2-libs/gm2-libs-host.h
 	-test -d m2/mc-boot || $(mkinstalldirs) m2/mc-boot
 	$(CXX) -g -c -I. -I$(srcdir)/m2/mc-boot-ch -I$(srcdir)/m2/mc-boot -I$(srcdir)/../include -I$(srcdir) $(INCLUDES) $< -o $@
 
@@ -1333,7 +1333,7 @@ m2/mc-boot/main.o: $(M2LINK) $(srcdir)/m2/init/mcinit
 	unset CC ; $(M2LINK) -s --langc++ --exit --name m2/mc-boot/main.c $(srcdir)/m2/init/mcinit
 	$(CXX) -g -c -I. -I$(srcdir)/../include -I$(srcdir) $(INCLUDES) m2/mc-boot/main.c -o $@
 
-mcflex.o: mcflex.c
+mcflex.o: mcflex.c m2/gm2-libs/gm2-libs-host.h
 	$(CC) -I$(srcdir)/m2/mc -g -c $< -o $@   # remember that mcReserved.h is copied into m2/mc
 
 mcflex.c: $(srcdir)/m2/mc/mc.flex

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-01-10 18:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-10 18:51 [gcc r13-5094] Adding missing dependencies to gcc/m2/Make-lang.in Gaius Mulley

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).