commit: 07eaa92245ec0d73522a721eddbb40514a049159
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 12 11:24:08 2021 +0000
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Mon Jul 12 11:49:35 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07eaa922
app-editors/emacs: Check for gcc in jit workaround
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
app-editors/emacs/emacs-28.0.9999.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-editors/emacs/emacs-28.0.9999.ebuild
b/app-editors/emacs/emacs-28.0.9999.ebuild
index 682e0651a36..e3586a88f10 100644
--- a/app-editors/emacs/emacs-28.0.9999.ebuild
+++ b/app-editors/emacs/emacs-28.0.9999.ebuild
@@ -148,7 +148,7 @@ src_prepare() {
# gccjit doesn't play well with ccache #801580
# For now, work around the problem with an explicit LIBRARY_PATH
- has ccache ${FEATURES} \
+ has ccache ${FEATURES} && tc-is-gcc \
&& export LIBRARY_PATH=$("$(tc-getCC)"
-print-search-dirs \
| sed -n '/^libraries:/{s:^[^/]*::;p}')
fi