chore(main/nodejs-lts): cache host builds

This commit is contained in:
Yaksh Bariya 2023-06-10 19:20:08 +05:30
parent 1454810160
commit 2889163b97
No known key found for this signature in database
GPG Key ID: F7486BA7D3D27581
1 changed files with 4 additions and 0 deletions

View File

@ -39,6 +39,10 @@ termux_step_configure() {
export CC_host=gcc
export CXX_host=g++
export LINK_host=g++
if [ "$TERMUX_CACHE_ENABLED" = true ]; then
CC_host="ccache gcc"
CXX_host="ccache g++"
fi
# See note above TERMUX_PKG_DEPENDS why we do not use a shared libuv
# When building with ninja, build.ninja is geenrated for both Debug and Release builds.