diff options
author | Lei Zhang <zhanglei.april@gmail.com> | 2016-07-19 17:53:38 +0800 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2016-08-01 23:49:26 +0200 |
commit | 8517679a0aac8bc07793b6781d2249b71dc23daf (patch) | |
tree | 88ea926ba4ad04cb4ba4bc761590bbc89d51d9c3 /sys-devel/llvm/metadata.xml | |
parent | sys-libs/libcxx: bump to 3.8.1, support libunwind & musl (#589352) (diff) | |
download | gentoo-8517679a0aac8bc07793b6781d2249b71dc23daf.tar.gz gentoo-8517679a0aac8bc07793b6781d2249b71dc23daf.tar.bz2 gentoo-8517679a0aac8bc07793b6781d2249b71dc23daf.zip |
sys-devel/llvm: musl & default runtime lib switches, #589352
- add support for building llvm against musl
- enable clang to build binaries against musl
- introduce USE flag "sanitize" to control the building of compiler-rt's
sanitizers (they cause problem on musl)
- be able to override default values of -stdlib and -rtlib for clang
* USE="default-libcxx" implies -stdlib=libc++ (originally libstdc++)
* USE="default-compiler-rt" implies -rtlib=compiler-rt (originally libgcc)
Diffstat (limited to 'sys-devel/llvm/metadata.xml')
-rw-r--r-- | sys-devel/llvm/metadata.xml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys-devel/llvm/metadata.xml b/sys-devel/llvm/metadata.xml index 7371a1fe6d06..09156e246672 100644 --- a/sys-devel/llvm/metadata.xml +++ b/sys-devel/llvm/metadata.xml @@ -20,11 +20,14 @@ 4. LLVM does not imply things that you would expect from a high-level virtual machine. It does not require garbage collection or run-time code generation (In fact, LLVM makes a great static compiler!). Note that optional LLVM components can be used to build high-level virtual machines and other systems that need these services.</longdescription> <use> <flag name="clang">Build the clang C/C++ compiler</flag> + <flag name="default-compiler-rt">Use compiler-rt instead of libgcc as the default rtlib for clang</flag> + <flag name="default-libcxx">Use libc++ instead of libstdc++ as the default stdlib for clang</flag> <flag name="doc">Build and install the HTML documentation and regenerate the man pages</flag> <flag name="gold">Build the gold linker plugin</flag> <flag name="lldb">Build the lldb debugger</flag> <flag name="multitarget">Build all host targets (default: host only)</flag> <flag name="ncurses">Support querying terminal properties using ncurses' terminfo</flag> + <flag name="sanitize">Build compiler-rt's sanitizers</flag> <flag name="static-analyzer">Install the Clang static analyzer (requires USE=clang)</flag> </use> </pkgmetadata> |