svn commit: r346533 - projects/runtime-coverage-v2/lib
Enji Cooper
ngie at FreeBSD.org
Mon Apr 22 08:02:18 UTC 2019
Author: ngie
Date: Mon Apr 22 08:02:17 2019
New Revision: 346533
URL: https://svnweb.freebsd.org/changeset/base/346533
Log:
Rely on the MACHINE_CPUARCH, etc logic in lib/libclang_rt
Modified:
projects/runtime-coverage-v2/lib/Makefile
Modified: projects/runtime-coverage-v2/lib/Makefile
==============================================================================
--- projects/runtime-coverage-v2/lib/Makefile Mon Apr 22 07:59:15 2019 (r346532)
+++ projects/runtime-coverage-v2/lib/Makefile Mon Apr 22 08:02:17 2019 (r346533)
@@ -154,11 +154,8 @@ SUBDIR.${MK_KERBEROS_SUPPORT}+= libcom_err
SUBDIR.${MK_LDNS}+= libldns
# The libraries under libclang_rt can only be built by clang, and only make
-# sense to build when clang is enabled at all. Furthermore, they can only be
-# built for certain architectures.
-.if ${MK_CLANG} != "no" && ${COMPILER_TYPE} == "clang" && \
- (${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "amd64" || \
- ${MACHINE_CPUARCH} == "arm" || ${MACHINE_CPUARCH} == "i386")
+# sense to build when clang is enabled at all.
+.if ${MK_CLANG} != "no" && ${COMPILER_TYPE} == "clang"
_libclang_rt= libclang_rt
.endif
More information about the svn-src-projects
mailing list