Ports: Add option to disable ccache

This commit is contained in:
Timur Sultanov authored and Linus Groh committed 2022-06-12 00:28:26 +01:00
1 parent 15cce56411
commit 35d31dec7e
1 file changed
+1 -1
+1 -1
View File
@@ -25,7 +25,7 @@ target_env
DESTDIR="${SERENITY_INSTALL_ROOT}"
enable_ccache() {
if command -v ccache &>/dev/null; then
if [ "${USE_CCACHE:-true}" = "true" ] && command -v ccache &>/dev/null; then
ccache_tooldir="${SERENITY_BUILD_DIR}/ccache"
mkdir -p "$ccache_tooldir"
if [ "$SERENITY_TOOLCHAIN" = "Clang" ]; then