From cc19e7c24a6ddb3a958ba09766efa513f2e1885d Mon Sep 17 00:00:00 2001 From: Tony Cook Date: Mon, 4 Dec 2023 14:39:05 +1100 Subject: [PATCH] win32/GNUmakefile: disable the .y to .c implicit rule If perly.y happens to be newer than perly.c gmake 4.4.1 wouldn't bother trying to build the .c from .y, but it would delete the .c as an intermediate anyway. Fixes #21651 --- win32/GNUmakefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/win32/GNUmakefile b/win32/GNUmakefile index 07a193190dfc..4e7c5d8842a5 100644 --- a/win32/GNUmakefile +++ b/win32/GNUmakefile @@ -1904,3 +1904,6 @@ nok: utils $(PERLEXE) $(PERLDLL) Extensions_nonxs Extensions nokfile: utils $(PERLEXE) $(PERLDLL) Extensions_nonxs Extensions $(PERLEXE) ..\utils\perlbug -nok -s "(UNINSTALLED)" -F perl.nok + +# prevent implicit rule +%.c : %.y