summaryrefslogtreecommitdiff
path: root/usr.bin/clang
diff options
context:
space:
mode:
authorConrad Meyer <cem@FreeBSD.org>2020-06-24 17:03:42 +0000
committerConrad Meyer <cem@FreeBSD.org>2020-06-24 17:03:42 +0000
commit0a9ab9f549b413fa2febee9706cf7d4e330f961a (patch)
treead355d54f6114efa21fb324877d058eab32015ec /usr.bin/clang
parent1388cfe1b500db39d4858083f333e50c0f80b5e4 (diff)
downloadsrc-test2-0a9ab9f549b413fa2febee9706cf7d4e330f961a.tar.gz
src-test2-0a9ab9f549b413fa2febee9706cf7d4e330f961a.zip
Notes
Diffstat (limited to 'usr.bin/clang')
-rw-r--r--usr.bin/clang/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/clang/Makefile b/usr.bin/clang/Makefile
index b0a46157685f..5ac0607338e3 100644
--- a/usr.bin/clang/Makefile
+++ b/usr.bin/clang/Makefile
@@ -18,7 +18,6 @@ SUBDIR+= llvm-symbolizer
.if ${MK_CLANG_EXTRAS} != "no"
SUBDIR+= bugpoint
-SUBDIR+= clang-format
SUBDIR+= llc
SUBDIR+= lli
SUBDIR+= llvm-as
@@ -42,6 +41,10 @@ SUBDIR+= llvm-xray
SUBDIR+= opt
.endif
+.if ${MK_CLANG_EXTRAS} != "no" || ${MK_CLANG_FORMAT} != "no"
+SUBDIR+= clang-format
+.endif
+
.if ${MK_LLD} != "no"
SUBDIR+= lld
.endif