1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-15 10:17:20 +00:00

Have to evaluate GCDAS immediately b/c I .undef'ed the _GCDAS_SRCS var later.

Otherwise GCDAS will be empty. Womp womp.
This commit is contained in:
Enji Cooper 2017-10-22 00:10:18 +00:00
parent 0a8f81bc28
commit 71ae7bc6a2
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/projects/runtime-coverage/; revision=324840
2 changed files with 2 additions and 2 deletions

View File

@ -460,7 +460,7 @@ _libinstall:
.include <bsd.nls.mk>
.if defined(_COV_FLAG)
_GCDA_SRCS= ${SRCS:M*.c} ${SRCS:M*.cc} ${SRCS:M*.cpp} ${SRCS:M*.cxx} ${SRCS:M*.C}
GCDAS= ${_GCDA_SRCS:R:S/$/.gcda/g}
GCDAS:= ${_GCDA_SRCS:R:S/$/.gcda/g}
.undef _GCDA_SRCS
.for _gcda in ${GCDAS}
${_gcda}: ${_gcda:R}.pico

View File

@ -307,7 +307,7 @@ NLSNAME?= ${PROG}
.include <bsd.confs.mk>
.if defined(_COV_FLAG)
_GCDA_SRCS= ${SRCS:M*.c} ${SRCS:M*.cc} ${SRCS:M*.cpp} ${SRCS:M*.cxx} ${SRCS:M*.C}
GCDAS= ${_GCDA_SRCS:R:S/$/.gcda/g}
GCDAS:= ${_GCDA_SRCS:R:S/$/.gcda/g}
.undef _GCDA_SRCS
.for _gcda in ${GCDAS}
${_gcda}: ${_gcda:R}.pico