From df5d2454a3de65e6d384933806fff133d660758f Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Sat, 2 Feb 2013 22:28:29 +0000 Subject: Pull in r170135 from upstream clang trunk: Dont use/link ARCMT, StaticAnalyzer and Rewriter to clang when the user specifies not to. Dont build ASTMatchers with Rewriter disabled and StaticAnalyzer when it's disabled. Without all those three, the clang binary shrinks (x86_64) from ~36MB to ~32MB (unstripped). To disable these clang components, and get a smaller clang binary built and installed, set WITHOUT_CLANG_FULL in src.conf(5). During the initial stages of buildworld, those extra components are already disabled automatically, to save some build time. MFC after: 1 week --- lib/clang/libllvminterpreter/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/clang/libllvminterpreter/Makefile') diff --git a/lib/clang/libllvminterpreter/Makefile b/lib/clang/libllvminterpreter/Makefile index 6a1b453459b2..06fcca4fb9f9 100644 --- a/lib/clang/libllvminterpreter/Makefile +++ b/lib/clang/libllvminterpreter/Makefile @@ -1,5 +1,7 @@ # $FreeBSD$ +.include + LIB= llvminterpreter SRCDIR= lib/ExecutionEngine/Interpreter -- cgit v1.2.3