svn commit: r346492 - projects/runtime-coverage-v2/lib/libclang_rt

Enji Cooper ngie at FreeBSD.org
Sun Apr 21 19:26:41 UTC 2019


Author: ngie
Date: Sun Apr 21 19:26:40 2019
New Revision: 346492
URL: https://svnweb.freebsd.org/changeset/base/346492

Log:
  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++.
  
  There might be compilation/link time issues, but we'll find out soon.

Modified:
  projects/runtime-coverage-v2/lib/libclang_rt/Makefile

Modified: projects/runtime-coverage-v2/lib/libclang_rt/Makefile
==============================================================================
--- projects/runtime-coverage-v2/lib/libclang_rt/Makefile	Sun Apr 21 19:07:03 2019	(r346491)
+++ projects/runtime-coverage-v2/lib/libclang_rt/Makefile	Sun Apr 21 19:26:40 2019	(r346492)
@@ -10,6 +10,7 @@ SUBDIR+=	asan_dynamic
 SUBDIR+=	msan
 SUBDIR+=	msan_cxx
 .endif
+SUBDIR+=	profile
 SUBDIR+=	safestack
 SUBDIR+=	stats
 SUBDIR+=	stats_client
@@ -20,11 +21,6 @@ SUBDIR+=	tsan_cxx
 SUBDIR+=	ubsan_minimal
 SUBDIR+=	ubsan_standalone
 SUBDIR+=	ubsan_standalone_cxx
-.endif
-
-.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64" || \
-    ${MACHINE_CPUARCH} == "arm"
-SUBDIR+=	profile
 .endif
 
 .include <bsd.subdir.mk>


More information about the svn-src-projects mailing list