1 |
commit: d2563074dd89ab616032b610baed2367b1a5759f |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jul 3 07:29:46 2016 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jul 3 08:19:07 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2563074 |
7 |
|
8 |
sys-devel/llvm: Use tc-is-gcc from toolchain-funcs |
9 |
|
10 |
sys-devel/llvm/llvm-3.8.0-r3.ebuild | 2 +- |
11 |
1 file changed, 1 insertion(+), 1 deletion(-) |
12 |
|
13 |
diff --git a/sys-devel/llvm/llvm-3.8.0-r3.ebuild b/sys-devel/llvm/llvm-3.8.0-r3.ebuild |
14 |
index 0b38f2e..31be20b 100644 |
15 |
--- a/sys-devel/llvm/llvm-3.8.0-r3.ebuild |
16 |
+++ b/sys-devel/llvm/llvm-3.8.0-r3.ebuild |
17 |
@@ -173,7 +173,7 @@ src_prepare() { |
18 |
sed -i -e 's/xcrun/false/' utils/lit/lit/util.py || die |
19 |
|
20 |
# Workaround, can be compiled with gcc on Gentoo/FreeBSD, bug #578064 |
21 |
- use kernel_FreeBSD && [[ $(tc-getCC) == *gcc* ]] && append-cppflags "-D_GLIBCXX_USE_C99" |
22 |
+ use kernel_FreeBSD && tc-is-gcc && append-cppflags "-D_GLIBCXX_USE_C99" |
23 |
|
24 |
if use clang; then |
25 |
# Automatically select active system GCC's libraries, bugs #406163 and #417913 |