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