summaryrefslogtreecommitdiffstats
path: root/lib/clang/libllvmpowerpccodegen
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2013-02-02 22:28:29 +0000
committerdim <dim@FreeBSD.org>2013-02-02 22:28:29 +0000
commit70538df621421ce04b5c5d7e1f5b62d5a7f9fc7a (patch)
treeb320740864f58d26808c8eb2bee05df3b8c3b774 /lib/clang/libllvmpowerpccodegen
parente94b41487b15810ca86ef4cf9a1cacddd428846d (diff)
downloadFreeBSD-src-70538df621421ce04b5c5d7e1f5b62d5a7f9fc7a.zip
FreeBSD-src-70538df621421ce04b5c5d7e1f5b62d5a7f9fc7a.tar.gz
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
Diffstat (limited to 'lib/clang/libllvmpowerpccodegen')
-rw-r--r--lib/clang/libllvmpowerpccodegen/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/clang/libllvmpowerpccodegen/Makefile b/lib/clang/libllvmpowerpccodegen/Makefile
index a97c352..a09da59 100644
--- a/lib/clang/libllvmpowerpccodegen/Makefile
+++ b/lib/clang/libllvmpowerpccodegen/Makefile
@@ -1,5 +1,7 @@
# $FreeBSD$
+.include <bsd.own.mk>
+
LIB= llvmpowerpccodegen
SRCDIR= lib/Target/PowerPC
OpenPOWER on IntegriCloud