From 0eb41e5e5a380e5e48ea389d044d2ab4d036cc51 Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Thu, 6 Mar 2025 11:36:11 +0200 Subject: [PATCH] GNUmakefile: fix the detection for a working tcc executable, broken in 869677a --- GNUmakefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/GNUmakefile b/GNUmakefile index 9ae1ab8789..68259ef31f 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -136,7 +136,7 @@ latest_vc: endif check_for_working_tcc: - @$(TMPTCC)/tcc$(EXE_EXT) --version > /dev/null 2> /dev/null || echo "The executable '$(TMPTCC)/tcc$(EXE_EXT)' does not work." + @$(TMPTCC)/tcc.exe --version > /dev/null 2> /dev/null || echo "The executable '$(TMPTCC)/tcc.exe' does not work." fresh_vc: rm -rf $(VC) @@ -145,7 +145,7 @@ fresh_vc: ifndef local latest_tcc: $(TMPTCC)/.git/config cd $(TMPTCC) && $(GITCLEANPULL) -ifneq (,$(wildcard ./tcc$(EXE_EXT))) +ifneq (,$(wildcard ./tcc.exe)) @$(MAKE) --quiet check_for_working_tcc 2> /dev/null endif