How to disable CLANG & co build in buildworld?
Dag-Erling Smørgrav
des at des.no
Fri Jun 11 21:16:11 UTC 2010
Ed Schouten <ed at 80386.nl> writes:
> Exactly. I already mentioned this problem on arch@ back in May. That's
> why a small portion of LLVM, namely tblgen, is always built.
tblgen + two libraries that it needs.
However, we never install tblgen, and that is a problem, because it
means we can't "make" in /usr/src/lib/clang - the only way to build
clang is with make toolchain, make buildworld or make buildenv, which is
ridiculous. All it takes is this simple patch:
Index: usr.bin/clang/Makefile
===================================================================
--- usr.bin/clang/Makefile (revision 209062)
+++ usr.bin/clang/Makefile (working copy)
@@ -1,5 +1,5 @@
# $FreeBSD$
-SUBDIR= clang
+SUBDIR= clang tblgen
.include <bsd.subdir.mk>
DES
--
Dag-Erling Smørgrav - des at des.no
More information about the freebsd-current
mailing list