https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267871

John Baldwin <j...@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |s...@freebsd.org

--- Comment #6 from John Baldwin <j...@freebsd.org> ---
(In reply to devel from comment #5)
Doing a fresh git clone doesn't ensure that /usr/obj is empty.  The only way
make(1) could possibly know to look for rs.c is if it found a generated .depend
file in /usr/obj that contained a reference to rs.c.

One question though is if you are using meta mode by chance?  I don't know if
somehow the implicit SRCS breaks.  bsd.prog.mk has logic to assume <foo>.cc
instead of <foo>.c for the default value of SRCS if PROG_CXX is used instead of
PROG.  I see a somewhat dubious check for PROG_CXX (seems like it should be
checking something else?) in local.dirdeps.mk, but aside from that I can't see
any way that make would think the implicit source was rs.c instead of rs.cc.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to