From c942dbc998fbd143a4327ddb360e7c314822d26f Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Thu, 10 Dec 2020 20:28:33 +1000 Subject: [PATCH] add note about ccache https://forums.ankiweb.net/t/building-with-ccache/5677 --- docs/linux.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/linux.md b/docs/linux.md index 82a7fb069..420aded29 100644 --- a/docs/linux.md +++ b/docs/linux.md @@ -75,6 +75,9 @@ dependencies. When the build is complete, Anki will automatically start. To play audio, install mpv. At the time of writing, recording is not yet supported, as currently pyaudio is not being installed. +If you or your distro has made ccache the standard compiler, you will need to +set CC and CXX to point directly to gcc/g++ prior to building Anki. + ## Optimized builds The `./run` command will create a non-optimized build by default. This is faster