From 680d14101477f478c2116bcb0f401c5472c1682b Mon Sep 17 00:00:00 2001 From: Sam James Date: Wed, 1 Sep 2021 22:25:29 +0100 Subject: app-text/poppler: fix check for Clang Signed-off-by: Sam James --- app-text/poppler/poppler-9999.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app-text') diff --git a/app-text/poppler/poppler-9999.ebuild b/app-text/poppler/poppler-9999.ebuild index 9151fd10198f..2013baa8c3f7 100644 --- a/app-text/poppler/poppler-9999.ebuild +++ b/app-text/poppler/poppler-9999.ebuild @@ -70,7 +70,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 tc-is-clang ; then sed -e 's/-fno-check-new//' -i cmake/modules/PopplerMacros.cmake || die fi -- cgit v1.2.3-65-gdbad