mirror of
https://github.com/SerenityOS/serenity.git
synced 2026-11-07 04:29:30 -10:00
Ports: Add option to disable ccache
This commit is contained in:
1 parent
15cce56411
commit
35d31dec7e
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user