Line
Link Here
|
0 |
-- a/app-editors/emacs/emacs-28.1.ebuild |
0 |
++ b/app-editors/emacs/emacs-28.1.ebuild |
Lines 153-161
src_prepare() {
Link Here
|
153 |
# for live ebuilds FULL_VERSION doesn't exist in global scope |
153 |
# for live ebuilds FULL_VERSION doesn't exist in global scope |
154 |
QA_FLAGS_IGNORED="usr/$(get_libdir)/emacs/${FULL_VERSION}/native-lisp/.*" |
154 |
QA_FLAGS_IGNORED="usr/$(get_libdir)/emacs/${FULL_VERSION}/native-lisp/.*" |
155 |
|
155 |
|
156 |
# gccjit doesn't play well with ccache #801580 |
156 |
# gccjit doesn't play well with ccache or distcc #801580 |
157 |
# For now, work around the problem with an explicit LIBRARY_PATH |
157 |
# For now, work around the problem with an explicit LIBRARY_PATH |
158 |
has ccache ${FEATURES} && tc-is-gcc \ |
158 |
has ccache ${FEATURES} || has distcc ${FEATURES} && tc-is-gcc \ |
159 |
&& export LIBRARY_PATH=$("$(tc-getCC)" -print-search-dirs \ |
159 |
&& export LIBRARY_PATH=$("$(tc-getCC)" -print-search-dirs \ |
160 |
| sed -n '/^libraries:/{s:^[^/]*::;p}') |
160 |
| sed -n '/^libraries:/{s:^[^/]*::;p}') |
161 |
fi |
161 |
fi |