mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-29 02:22:43 +00:00
Make source crunches work as well as object crunches; broken in the
last commit that fixed object crunches. Repeat after me, "no excuses for not testing".
This commit is contained in:
parent
98aa5183a2
commit
1554755e12
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=81823
@ -644,7 +644,7 @@ void fillin_program(prog_t *p)
|
||||
warnx("%s: %s: warning: could not find any .o files",
|
||||
infilename, p->name);
|
||||
|
||||
if (!p->objdir || !p->objs)
|
||||
if ((!p->srcdir || !p->objdir) && !p->objs)
|
||||
p->goterror = 1;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user