summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2018-01-19 20:50:48 +0100
committerMichał Górny <mgorny@gentoo.org>2018-01-19 23:21:43 +0100
commit5bcc52f047db4438cd7427a094dcbb06bb2d4513 (patch)
tree6c4dd5968fe2540ac1f7a1b34b9ac69d43d5c2c9 /sys-devel/llvm/metadata.xml
parentapp-arch/brotli-1.0.2: add ~arm keyword (diff)
downloadgentoo-5bcc52f047db4438cd7427a094dcbb06bb2d4513.tar.gz
gentoo-5bcc52f047db4438cd7427a094dcbb06bb2d4513.tar.bz2
gentoo-5bcc52f047db4438cd7427a094dcbb06bb2d4513.zip
sys-devel/llvm: Fix implicit dependency on app-arch/libxar
Support conditionally using app-arch/libxar in LLVM 6+, and explicitly force it off in LLVM 5. This library is used only to dump LLVM bitcode in Mach-O files and it's very rare, so we can safely presume that nobody really used it and it's not worth rebuild due to revbumping LLVM 5. Closes: https://bugs.gentoo.org/645038
Diffstat (limited to 'sys-devel/llvm/metadata.xml')
-rw-r--r--sys-devel/llvm/metadata.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys-devel/llvm/metadata.xml b/sys-devel/llvm/metadata.xml
index f532f3a746df..66c9caef1660 100644
--- a/sys-devel/llvm/metadata.xml
+++ b/sys-devel/llvm/metadata.xml
@@ -20,5 +20,7 @@
<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>
+ <flag name="xar">Support dumping LLVM bitcode sections in Mach-O files
+ (uses <pkg>app-arch/libxar</pkg>)</flag>
</use>
</pkgmetadata>