Page MenuHomeFreeBSD

D31058.id92444.diff
No OneTemporary

D31058.id92444.diff

Index: usr.bin/clang/Makefile
===================================================================
--- usr.bin/clang/Makefile
+++ usr.bin/clang/Makefile
@@ -2,13 +2,19 @@
.include <src.opts.mk>
+.if ${MK_CLANG} != "no"
SUBDIR+= clang
-SUBDIR+= clang-tblgen
-SUBDIR+= llvm-tblgen
+.endif
+.if ${MK_CLANG_EXTRAS} != "no"
+# {llvm,clang,lldb}-tablegen is only needed to build plugins for the installed
+# clang/lldb and is therefore off by default to save build time.
+SUBDIR+= llvm-tblgen
+SUBDIR+= clang-tblgen
.if ${MK_LLDB} != "no"
SUBDIR+= lldb-tblgen
.endif
+.endif
.if !defined(TOOLS_PREFIX)
SUBDIR+= llvm-ar

File Metadata

Mime Type
text/plain
Expires
Thu, Jan 1, 9:32 AM (20 h, 20 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27433519
Default Alt Text
D31058.id92444.diff (627 B)

Event Timeline