mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
app-text/poppler: extend clang check to cover chost-clang as well
Package-Manager: portage-2.2.28
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user