From 94d7aeb9986412338dc62fde6603e2dd17edfe75 Mon Sep 17 00:00:00 2001
From: Pierre Muller <pierre@freepascal.org>
Date: Thu, 29 Aug 2024 22:41:40 +0200
Subject: [PATCH] Add msg as prerequisite for compiler to fix 'make distclean
 all' failure

---
 compiler/Makefile     | 2 +-
 compiler/Makefile.fpc | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/compiler/Makefile b/compiler/Makefile
index 6a18cc2c41..d62fd2e959 100644
--- a/compiler/Makefile
+++ b/compiler/Makefile
@@ -5114,7 +5114,7 @@ $(SYMLINKINSTALL_TARGETS):
 alltargets: $(ALLTARGETS)
 .PHONY: all compiler echotime ppuclean execlean clean distclean
 all: compiler $(addsuffix _all,$(TARGET_DIRS))
-compiler: $(COMPILER_UNITTARGETDIR) $(COMPILER_TARGETDIR) $(EXENAME)
+compiler: msg $(COMPILER_UNITTARGETDIR) $(COMPILER_TARGETDIR) $(EXENAME)
 ifeq ($(MAKELEVEL),0)
 ifndef STARTTIME
 ifdef DATE
diff --git a/compiler/Makefile.fpc b/compiler/Makefile.fpc
index 7f794c9024..a54a4d3f7e 100644
--- a/compiler/Makefile.fpc
+++ b/compiler/Makefile.fpc
@@ -726,7 +726,7 @@ alltargets: $(ALLTARGETS)
 
 all: compiler $(addsuffix _all,$(TARGET_DIRS))
 
-compiler: $(COMPILER_UNITTARGETDIR) $(COMPILER_TARGETDIR) $(EXENAME)
+compiler: msg $(COMPILER_UNITTARGETDIR) $(COMPILER_TARGETDIR) $(EXENAME)
 
 ifeq ($(MAKELEVEL),0)
 ifndef STARTTIME