1 |
commit: c6c5af07666191c3d728ff494ca7e5a39db4101b |
2 |
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Feb 6 18:04:33 2021 +0000 |
4 |
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Feb 6 18:04:52 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6c5af07 |
7 |
|
8 |
dev-util/ccache: disable automagic ccache and ld detection |
9 |
|
10 |
Reported-by: Thomas Deutschmann |
11 |
Package-Manager: Portage-3.0.14, Repoman-3.0.2 |
12 |
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> |
13 |
|
14 |
dev-util/ccache/ccache-4.2.ebuild | 10 ++++++++++ |
15 |
1 file changed, 10 insertions(+) |
16 |
|
17 |
diff --git a/dev-util/ccache/ccache-4.2.ebuild b/dev-util/ccache/ccache-4.2.ebuild |
18 |
index 6988793a479..3f58044c682 100644 |
19 |
--- a/dev-util/ccache/ccache-4.2.ebuild |
20 |
+++ b/dev-util/ccache/ccache-4.2.ebuild |
21 |
@@ -50,6 +50,16 @@ src_prepare() { |
22 |
tc-export CC OBJDUMP |
23 |
} |
24 |
|
25 |
+src_configure() { |
26 |
+ local mycmakeargs=( |
27 |
+ -DUSE_CCACHE=OFF |
28 |
+ -DUSE_FASTER_LINKER=OFF |
29 |
+ -DZSTD_FROM_INTERNET=OFF |
30 |
+ ) |
31 |
+ |
32 |
+ cmake_src_configure |
33 |
+} |
34 |
+ |
35 |
src_install() { |
36 |
cmake_src_install |