summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2017-02-16 14:36:42 +0100
committerMichał Górny <mgorny@gentoo.org>2017-02-16 15:16:21 +0100
commit04bb278e03b7a36b5a5682c77355c68aee632e78 (patch)
treedf660162b6d39558f6faca21b9351d8ff058e434 /sys-libs/compiler-rt/metadata.xml
parentx11-plugins/wmhdplop: fix build with future glibc, bug #604296 (diff)
downloadgentoo-04bb278e03b7a36b5a5682c77355c68aee632e78.tar.gz
gentoo-04bb278e03b7a36b5a5682c77355c68aee632e78.tar.bz2
gentoo-04bb278e03b7a36b5a5682c77355c68aee632e78.zip
sys-libs/compiler-rt: Prefer building using clang
Add a USE=clang flag to prefer building using installed clang, to work around limited/broken support for '#pragma redefine_extname' which results in incomplete runtime being emitted when building using GCC.
Diffstat (limited to 'sys-libs/compiler-rt/metadata.xml')
-rw-r--r--sys-libs/compiler-rt/metadata.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys-libs/compiler-rt/metadata.xml b/sys-libs/compiler-rt/metadata.xml
index 89c4bdb96049..3b996021381a 100644
--- a/sys-libs/compiler-rt/metadata.xml
+++ b/sys-libs/compiler-rt/metadata.xml
@@ -4,4 +4,8 @@
<maintainer type="project">
<email>llvm@gentoo.org</email>
</maintainer>
+ <use>
+ <flag name='clang'>Force building using installed clang (rather
+ than the default CC/CXX).</flag>
+ </use>
</pkgmetadata>