Browse Source

Add rtlconst.inc dependency for rtlconsts unit

Pierre Muller 1 year ago
parent
commit
1ea8e8bda2
1 changed files with 2 additions and 2 deletions
  1. 2 2
      rtl/inc/Makefile.rtl

+ 2 - 2
rtl/inc/Makefile.rtl

@@ -1094,14 +1094,14 @@ System.SysConst$(PPUEXT) :  $(NSINC)/System.SysConst.pp $(SYSCONST_DEPS)
 # Thus we need to use the variable here
 # Thus we need to use the variable here
 #
 #
 ifdef FPC_DOTTEDUNITS
 ifdef FPC_DOTTEDUNITS
-RTLCONSTS_DEPS=$(OBJPASDIR)/rtlconsts.pp \
+RTLCONSTS_DEPS=$(OBJPASDIR)/rtlconsts.pp $(OBJPASDIR)/rtlconst.inc \
               objpas$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT) \
               objpas$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT) \
               $(RTLCONSTS_DEPS_OS) $(RTLCONSTS_DEPS_CPU)
               $(RTLCONSTS_DEPS_OS) $(RTLCONSTS_DEPS_CPU)
 
 
 System.RtlConsts$(PPUEXT) : $(NSINC)/System.RtlConsts.pp $(RTLCONSTS_DEPS)
 System.RtlConsts$(PPUEXT) : $(NSINC)/System.RtlConsts.pp $(RTLCONSTS_DEPS)
         $(COMPILER) -Fi$(OBJPASDIR) $(RTLCONSTS_OPT) $<
         $(COMPILER) -Fi$(OBJPASDIR) $(RTLCONSTS_OPT) $<
 else
 else
-RTLCONSTS_DEPS=$(OBJPASDIR)/$(RTLCONSTSUNIT).pp \
+RTLCONSTS_DEPS=$(OBJPASDIR)/$(RTLCONSTSUNIT).pp $(OBJPASDIR)/rtlconst.inc \
               objpas$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT) \
               objpas$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT) \
               $(RTLCONSTS_DEPS_OS) $(RTLCONSTS_DEPS_CPU)
               $(RTLCONSTS_DEPS_OS) $(RTLCONSTS_DEPS_CPU)