commit:     3f6e76103fc8b589770ca0b9982a9437316eb02e
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Sun Sep  4 17:16:40 2016 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Sun Sep  4 17:16:40 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f6e7610

app-text/poppler: extend clang check to cover chost-clang as well

Package-Manager: portage-2.2.28

 app-text/poppler/poppler-0.47.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/poppler/poppler-0.47.0.ebuild 
b/app-text/poppler/poppler-0.47.0.ebuild
index df66639..b681b6f 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
 

Reply via email to