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