makefile - Turn "overriding commands for target" into error -


gnu make issues warning if there more 1 recipe single target. possible convert warning error have more visible?

i ended patching gnu make , rebuilding sources (git tag 4.1):

diff --git a/read.c b/read.c index 6ff4bcc..f227681 100644 --- a/read.c +++ b/read.c @@ -2121,7 +2121,7 @@ record_files (struct nameseq *filenames, const char *pattern,                error (&cmds->fileinfo, l,                       _("warning: overriding recipe target '%s'"),                       f->name); -              error (&f->cmds->fileinfo, l, +              fatal (&f->cmds->fileinfo, l,                       _("warning: ignoring old recipe target '%s'"),                       f->name);              } 

Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -