summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2021-07-12 13:24:08 +0200
committerUlrich Müller <ulm@gentoo.org>2021-07-12 13:49:35 +0200
commit07eaa92245ec0d73522a721eddbb40514a049159 (patch)
treea25e91d81614dcd36547c4f91894ab486ab46d10 /app-editors
parentnet-im/poezio: enable py3.9 (diff)
downloadgentoo-07eaa92245ec0d73522a721eddbb40514a049159.tar.gz
gentoo-07eaa92245ec0d73522a721eddbb40514a049159.tar.bz2
gentoo-07eaa92245ec0d73522a721eddbb40514a049159.zip
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@gentoo.org>
Diffstat (limited to 'app-editors')
-rw-r--r--app-editors/emacs/emacs-28.0.9999.ebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/app-editors/emacs/emacs-28.0.9999.ebuild b/app-editors/emacs/emacs-28.0.9999.ebuild
index 682e0651a360..e3586a88f103 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