cvs commit: src/usr.bin/make main.c
fjoe at FreeBSD.org
Fri Apr 20 06:25:45 UTC 2007
fjoe 2007-04-20 06:25:45 UTC
FreeBSD src repository
When remaking makefiles check that mtime has actually changed.
This fixes infinite restart in the following case:
Unlike GNU make, BSD make considers "Makefile" node as remade even
if "foo" is up-to-date and was not actually rebuilt.
GNU make does not consider nodes without commands as remade if child nodes
were not actually rebuilt.
Most probably, more proper fix would be to bring BSD make behaviour in-line
with GNU make but this would be more intrusive change.
Revision Changes Path
1.162 +14 -3 src/usr.bin/make/main.c
More information about the cvs-src