if ccache is enabled, by default also enable CCACHE_DEPEND

Desktop / LibreOffice - Luboš Luňák [collabora.com] - 9 May 2019 09:03 EDT

This avoids the preprocessing step normally done by ccache (see ccache docs), which speeds up the build. This way there may be incorrect ccache hits if a system header (found using -isystem) changes, but that should be rare and such headers generally should be backwards compatible, so the chance of an actual breakage should be very low. The patch also adds --enable-ccache=nodepend to allow enabling ccache without the depend mode.

https://lists.freedesktop.org/archives/libreoffice/2019-May/082684.html

Change-Id: Id69ca43988a016a917beb75927b39d8bde719aa7 Reviewed-on: https://gerrit.libreoffice.org/71629

689829db6a36 if ccache is enabled, by default also enable CCACHE_DEPEND
config_host.mk.in | 1 +
configure.ac | 14 +++++++++++++-
solenv/gbuild/platform/com_GCC_defs.mk | 4 ++++
3 files changed, 18 insertions(+), 1 deletion(-)

Upstream: cgit.freedesktop.org


  • Share