mirror of
https://github.com/LibreELEC/LibreELEC.tv
synced 2025-09-24 19:46:01 +07:00
kodi: fix wrongly enabled internal ccache handling
Commit 98a96ef1f7 ("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:
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user