diff options
Diffstat (limited to 'sys-devel/llvm/llvm-3.8.0-r3.ebuild')
-rw-r--r-- | sys-devel/llvm/llvm-3.8.0-r3.ebuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-devel/llvm/llvm-3.8.0-r3.ebuild b/sys-devel/llvm/llvm-3.8.0-r3.ebuild index 0b38f2e58fa..31be20b9c06 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 |