kodi: fix wrongly enabled internal ccache handling

Commit 98a96ef1f721e8a444a7769321a6185f156b6f46 ("kodi: use cmake")
incorrectly switched kodi's internal ccache usage from off to on,
resulting in the compiler being double-wrapped in ccache.

As our gcc ccache wrappers will get a new timestamp on each clean
rebuild this also meant ccache was practically disabled (as the
"compiler"'s mtime changed), leading to about 1400 cache misses,
unnecessary rebuilds, about 1GB of data being added to the cache
and rather long rebuild times.

Fix this by configuring kodi with -DENABLE_CCACHE=ON matching the
previous --disable-ccache we had before switching to cmake.

Signed-off-by: Matthias Reichl <hias@horus.com>
This commit is contained in:
Matthias Reichl 2022-09-17 18:46:07 +02:00
parent 91e1d30c73
commit 275c4164ec

View File

@ -203,7 +203,7 @@ configure_package() {
-DENABLE_UDEV=ON \
-DENABLE_DBUS=ON \
-DENABLE_XSLT=ON \
-DENABLE_CCACHE=ON \
-DENABLE_CCACHE=OFF \
-DENABLE_LIRCCLIENT=ON \
-DENABLE_EVENTCLIENTS=ON \
-DENABLE_LDGOLD=ON \