From 1ea8e8bda283f48902453580be5e97d71b455ce4 Mon Sep 17 00:00:00 2001 From: Pierre Muller Date: Sat, 23 Sep 2023 00:40:30 +0200 Subject: [PATCH] Add rtlconst.inc dependency for rtlconsts unit --- rtl/inc/Makefile.rtl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rtl/inc/Makefile.rtl b/rtl/inc/Makefile.rtl index 551785c5a3..0f80d0b66b 100644 --- a/rtl/inc/Makefile.rtl +++ b/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 # ifdef FPC_DOTTEDUNITS -RTLCONSTS_DEPS=$(OBJPASDIR)/rtlconsts.pp \ +RTLCONSTS_DEPS=$(OBJPASDIR)/rtlconsts.pp $(OBJPASDIR)/rtlconst.inc \ objpas$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT) \ $(RTLCONSTS_DEPS_OS) $(RTLCONSTS_DEPS_CPU) System.RtlConsts$(PPUEXT) : $(NSINC)/System.RtlConsts.pp $(RTLCONSTS_DEPS) $(COMPILER) -Fi$(OBJPASDIR) $(RTLCONSTS_OPT) $< else -RTLCONSTS_DEPS=$(OBJPASDIR)/$(RTLCONSTSUNIT).pp \ +RTLCONSTS_DEPS=$(OBJPASDIR)/$(RTLCONSTSUNIT).pp $(OBJPASDIR)/rtlconst.inc \ objpas$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT) \ $(RTLCONSTS_DEPS_OS) $(RTLCONSTS_DEPS_CPU)