From 613d28127b4fa088305c7bd85286980f2b346e82 Mon Sep 17 00:00:00 2001 From: Enji Cooper Date: Mon, 22 Apr 2019 19:21:35 +0000 Subject: [PATCH] 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 --- lib/libclang_rt/Makefile | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/libclang_rt/Makefile b/lib/libclang_rt/Makefile index cda97b74258..6f1825613c4 100644 --- a/lib/libclang_rt/Makefile +++ b/lib/libclang_rt/Makefile @@ -22,9 +22,6 @@ SUBDIR+= ubsan_standalone SUBDIR+= ubsan_standalone_cxx .endif -.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64" || \ - ${MACHINE_CPUARCH} == "arm" SUBDIR+= profile -.endif .include