Procházet zdrojové kódy

Recompile rtl before trying to compile msg2inc binary

Pierre Muller před 11 měsíci
rodič
revize
b40d312521
2 změnil soubory, kde provedl 2 přidání a 0 odebrání
  1. 1 0
      compiler/Makefile
  2. 1 0
      compiler/Makefile.fpc

+ 1 - 0
compiler/Makefile

@@ -5155,6 +5155,7 @@ distclean: tempclean execlean cleanall $(addsuffix _clean,$(ALLTARGETS) $(BETATA
 $(MSG2INC): $(COMPILER_TARGETDIR) $(COMPILER_UNITTARGETDIR) $(COMPILERUTILSDIR)/msg2inc.pp
 	$(COMPILER) -FE. $(COMPILERUTILSDIR)/msg2inc.pp
 msgtxt.inc: $(MSGFILE)
+	$(MAKE) rtl
 	$(MAKE) $(MSG2INC)
 	$(MSG2INC) $(MSGFILE) msg msg
 msg: msgtxt.inc

+ 1 - 0
compiler/Makefile.fpc

@@ -786,6 +786,7 @@ $(MSG2INC): $(COMPILER_TARGETDIR) $(COMPILER_UNITTARGETDIR) $(COMPILERUTILSDIR)/
 # The msgtxt.inc only depends on the error?.msg file, not on msg2inc,
 # because that one will be new almost everytime
 msgtxt.inc: $(MSGFILE)
+        $(MAKE) rtl
         $(MAKE) $(MSG2INC)
         $(MSG2INC) $(MSGFILE) msg msg