freebsd-skq/lib/libclang_rt/Makefile
ngie febdbb3e83 Build libclang_rt/profile on all clang-supported architectures
There's no reason why a special case needs to be added specifically for amd64,
arm, and i386, as the code is written in machine architecture agnostic C/C++.

This will make it possible for all supporting clang architectures to produce
runtime coverage with `--coverage`.

MFC after:	2 weeks
Reviewed by:	dim
Differential Revision: https://reviews.freebsd.org/D20003
2019-04-22 19:21:35 +00:00

28 lines
504 B
Makefile

# $FreeBSD$
.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64"
SUBDIR+= include
SUBDIR+= asan
SUBDIR+= asan-preinit
SUBDIR+= asan_cxx
SUBDIR+= asan_dynamic
.if ${MACHINE_CPUARCH} == "amd64"
SUBDIR+= msan
SUBDIR+= msan_cxx
.endif
SUBDIR+= safestack
SUBDIR+= stats
SUBDIR+= stats_client
.if ${MACHINE_CPUARCH} == "amd64"
SUBDIR+= tsan
SUBDIR+= tsan_cxx
.endif
SUBDIR+= ubsan_minimal
SUBDIR+= ubsan_standalone
SUBDIR+= ubsan_standalone_cxx
.endif
SUBDIR+= profile
.include <bsd.subdir.mk>