1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-18 15:30:21 +00:00

Use MK_CLANG instead -_-

This commit is contained in:
Enji Cooper 2017-10-23 07:02:55 +00:00
parent 171e4ce895
commit 33913aa882
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/projects/runtime-coverage/; revision=324905

View File

@ -2258,10 +2258,10 @@ _prereq_libs+= gnu/lib/libssp/libssp_nonshared
# for world to have runtime coverage instrumentation.
#
.if ${MK_COVERAGE} != "no"
.if ${COMPILER_TYPE} == clang
.if ${MK_CLANG} != "no"
_prereq_libs+= lib/libclang_rt/profile
.else
.error "Runtime coverage isn't supported with ${COMPILER_TYPE}"
.error "Runtime coverage is only supported with clang"
.endif
.endif