]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Improve logic of CLEANFILES+=${PROG_FULL}.{bc,ll}.
authorJonathan Anderson <jonathan@FreeBSD.org>
Wed, 18 Oct 2017 00:30:15 +0000 (00:30 +0000)
committerJonathan Anderson <jonathan@FreeBSD.org>
Wed, 18 Oct 2017 00:30:15 +0000 (00:30 +0000)
commit6f6b66a827dbf2e16bc65626129bb8a4740b3849
treed0a645a8a532b1d8bb0a9fdb88ae24b3215f01fa
parent39ed7f250a4245fcddea4a80c619b8c812845034
Improve logic of CLEANFILES+=${PROG_FULL}.{bc,ll}.

The build rule describing how to create ${PROG_FULL}.{bc,ll} is only
dependent on LLVM_LINK being defined, not on MK_DEBUG_FILES being "yes".
Move the addition of ${PROG_FULL}.{bc,ll} out of the conditional block
under `.if ${MK_DEBUG_FILES} != "no"` and up next to where the build
rules for ${PROG_FULL}.{bc,ll} are defined.

Reviewed by: emaste
MFC after: 1 week
Sponsored by: DARPA, AFRL
Differential Revision: https://reviews.freebsd.org/D12703
share/mk/bsd.prog.mk