mirror of
https://github.com/SerenityOS/serenity
synced 2024-10-02 22:24:26 +00:00
Ports: Add option to disable ccache
This commit is contained in:
parent
15cce56411
commit
35d31dec7e
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue