diff --git a/xml/obs_build_config.xml b/xml/obs_build_config.xml index f1cf6c0c..069b6cf6 100644 --- a/xml/obs_build_config.xml +++ b/xml/obs_build_config.xml @@ -973,18 +973,20 @@ Support: pax debbuild An alternative way to enable caching based on build dependencies is to add "--enable-cache" as dependency, for example via a Substitute rule: - - Substitute: gcc-c++ gcc-c++ --enable-ccache - + + + Substitute: gcc-c++ gcc-c++ --enable-ccache + + This will always enable ccache when a direct build depdency to gcc-c++ is required. It is also possible to set the type, eg: - - Substitute: cargo cargo --enable-ccache=sccache - + + Substitute: cargo cargo --enable-ccache=sccache +