Module Name: src Committed By: dholland Date: Wed Jun 30 00:25:04 UTC 2010
Modified Files: src/usr.bin/make: make.c Log Message: Set .PREFIX early the same place .TARGET is set. This makes sure it's defined even in cases where the suffix search logic is skipped, such as .PHONY targets, and fixes PR 43534. Note: because .PHONY targets do not get suffix searching, .PREFIX will not have any suffixes removed. This seems vaguely logical, although it's not the only reasonable interpretation. We may also want to reconsider whether suffix rules are skipped for phony targets, too. That behavior is somewhat counterintuitive. To generate a diff of this commit: cvs rdiff -u -r1.79 -r1.80 src/usr.bin/make/make.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.