diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2012-10-09 23:05:26 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2012-10-09 23:31:39 +0200 |
commit | 06fb559a4bc7f2b8f14187d6f4399e87452b2809 (patch) | |
tree | 9edaf476009b7a9db7f2c59aef966df99eef0e84 /compilerplugins | |
parent | 68abd6d9258975e9ef1155f726fe4c12bb0918e2 (diff) |
note about (not) linking llvm/clang libraries
Change-Id: I628e3b99b69d238abc9df3e62e77b30eb85f1a0d
Diffstat (limited to 'compilerplugins')
-rw-r--r-- | compilerplugins/Makefile-clang.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/compilerplugins/Makefile-clang.mk b/compilerplugins/Makefile-clang.mk index ca95f11aaff3..d175f23899f9 100644 --- a/compilerplugins/Makefile-clang.mk +++ b/compilerplugins/Makefile-clang.mk @@ -30,6 +30,10 @@ CLANGDEFS=-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS # All include locations needed. CLANGINCLUDES=-I$(CLANGDIR)/include -I$(CLANGDIR)/tools/clang/include -I$(CLANGBUILD)/include -I$(CLANGBUILD)/tools/clang/include +# Clang/LLVM libraries are intentionally not linked in, they are usually built as static libraries, which means the resulting +# plugin would be big (even though the clang binary already includes it all) and it'd be necessary to explicitly specify +# also all the dependency libraries. + CLANGINDIR=$(SRCDIR)/compilerplugins/clang # Cannot use $(WORKDIR), the plugin should survive even 'make clean', otherwise the rebuilt # plugin will cause cache misses with ccache. |