commit:     c6c5af07666191c3d728ff494ca7e5a39db4101b
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sat Feb  6 18:04:33 2021 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sat Feb  6 18:04:52 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6c5af07

dev-util/ccache: disable automagic ccache and ld detection

Reported-by: Thomas Deutschmann
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 dev-util/ccache/ccache-4.2.ebuild | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/dev-util/ccache/ccache-4.2.ebuild 
b/dev-util/ccache/ccache-4.2.ebuild
index 6988793a479..3f58044c682 100644
--- a/dev-util/ccache/ccache-4.2.ebuild
+++ b/dev-util/ccache/ccache-4.2.ebuild
@@ -50,6 +50,16 @@ src_prepare() {
        tc-export CC OBJDUMP
 }
 
+src_configure() {
+       local mycmakeargs=(
+               -DUSE_CCACHE=OFF
+               -DUSE_FASTER_LINKER=OFF
+               -DZSTD_FROM_INTERNET=OFF
+       )
+
+       cmake_src_configure
+}
+
 src_install() {
        cmake_src_install
 

Reply via email to