summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2016-09-04 19:16:40 +0200
committerFabian Groffen <grobian@gentoo.org>2016-09-04 19:16:40 +0200
commit3f6e76103fc8b589770ca0b9982a9437316eb02e (patch)
treec4eac8d3a829e63e10351eae60f77bfb76289a99 /app-text
parentdev-libs/libxml2: fix linking of python modules on Darwin (diff)
downloadgentoo-3f6e76103fc8b589770ca0b9982a9437316eb02e.tar.gz
gentoo-3f6e76103fc8b589770ca0b9982a9437316eb02e.tar.bz2
gentoo-3f6e76103fc8b589770ca0b9982a9437316eb02e.zip
app-text/poppler: extend clang check to cover chost-clang as well
Package-Manager: portage-2.2.28
Diffstat (limited to 'app-text')
-rw-r--r--app-text/poppler/poppler-0.47.0.ebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/app-text/poppler/poppler-0.47.0.ebuild b/app-text/poppler/poppler-0.47.0.ebuild
index df6663999aa7..b681b6f95e52 100644
--- a/app-text/poppler/poppler-0.47.0.ebuild
+++ b/app-text/poppler/poppler-0.47.0.ebuild
@@ -76,7 +76,7 @@ src_prepare() {
# Clang doesn't grok this flag, the configure nicely tests that, but
# cmake just uses it, so remove it if we use clang
- if [[ ${CC} == clang ]] ; then
+ if [[ ${CC} == *clang ]] ; then
sed -i -e 's/-fno-check-new//' cmake/modules/PopplerMacros.cmake || die
fi