1 |
commit: 3f6e76103fc8b589770ca0b9982a9437316eb02e |
2 |
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Sep 4 17:16:40 2016 +0000 |
4 |
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Sep 4 17:16:40 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f6e7610 |
7 |
|
8 |
app-text/poppler: extend clang check to cover chost-clang as well |
9 |
|
10 |
Package-Manager: portage-2.2.28 |
11 |
|
12 |
app-text/poppler/poppler-0.47.0.ebuild | 2 +- |
13 |
1 file changed, 1 insertion(+), 1 deletion(-) |
14 |
|
15 |
diff --git a/app-text/poppler/poppler-0.47.0.ebuild b/app-text/poppler/poppler-0.47.0.ebuild |
16 |
index df66639..b681b6f 100644 |
17 |
--- a/app-text/poppler/poppler-0.47.0.ebuild |
18 |
+++ b/app-text/poppler/poppler-0.47.0.ebuild |
19 |
@@ -76,7 +76,7 @@ src_prepare() { |
20 |
|
21 |
# Clang doesn't grok this flag, the configure nicely tests that, but |
22 |
# cmake just uses it, so remove it if we use clang |
23 |
- if [[ ${CC} == clang ]] ; then |
24 |
+ if [[ ${CC} == *clang ]] ; then |
25 |
sed -i -e 's/-fno-check-new//' cmake/modules/PopplerMacros.cmake || die |
26 |
fi |