configure.ac | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit a323857126dd420f73492a82f31bb7c8d5400ffb
Author: Thorsten Behrens <[email protected]>
AuthorDate: Fri Nov 12 00:34:12 2021 +0100
Commit: Thorsten Behrens <[email protected]>
CommitDate: Sat Nov 13 16:39:40 2021 +0100
No auto-usage of [s]ccache on Windows for PCH builds
Since that's a pessimisation. Any manual override
(--enable-ccache, or --disable-pch) will again make configure
auto-enable [s]ccache if binaries are found.
Change-Id: I4c0773300c792ebb1807d092d3622d90dfac7d5f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125073
Tested-by: Jenkins
Reviewed-by: Thorsten Behrens <[email protected]>
diff --git a/configure.ac b/configure.ac
index 23c2beaceefd..2f1764ac09cc 100644
--- a/configure.ac
+++ b/configure.ac
@@ -5857,6 +5857,10 @@ if test -z "$enable_pch"; then
if test "$_os" = "WINNT"; then
# Enabled by default on Windows.
enable_pch=yes
+ # never use [s]ccache on auto-enabled PCH builds, except if requested
explicitely
+ if test -z "$enable_ccache"; then
+ CCACHE=""
+ fi
else
enable_pch=no
fi