Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/poppler/
Date: Wed, 01 Sep 2021 21:26:47
Message-Id: 1630531596.680d14101477f478c2116bcb0f401c5472c1682b.sam@gentoo
1 commit: 680d14101477f478c2116bcb0f401c5472c1682b
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Wed Sep 1 21:25:29 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 1 21:26:36 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=680d1410
7
8 app-text/poppler: fix check for Clang
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 app-text/poppler/poppler-9999.ebuild | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15 diff --git a/app-text/poppler/poppler-9999.ebuild b/app-text/poppler/poppler-9999.ebuild
16 index 9151fd10198..2013baa8c3f 100644
17 --- a/app-text/poppler/poppler-9999.ebuild
18 +++ b/app-text/poppler/poppler-9999.ebuild
19 @@ -70,7 +70,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 tc-is-clang ; then
25 sed -e 's/-fno-check-new//' -i cmake/modules/PopplerMacros.cmake || die
26 fi