Skip to content

Commit

Permalink
win32/GNUmakefile: disable the .y to .c implicit rule
Browse files Browse the repository at this point in the history
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 Perl#21651
  • Loading branch information
tonycoz committed Dec 4, 2023
1 parent cf76a26 commit cc19e7c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions win32/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit cc19e7c

Please sign in to comment.