build: add cache to ./configure with -C flag
Some checks failed
CI / Linux (debian) (pull_request) Failing after 7s
CI / Check spelling (pull_request) Successful in 16s
CI / Check coding style (pull_request) Successful in 32s
CI / Linux (ubuntu) (pull_request) Failing after 1m26s
CI / Linux (arch) (pull_request) Has been cancelled

Add the -C flag to ./configure to enable caching, reducing redundant
resource fetching during builds when packages and the machine remain
unchanged. Caching may cause issues only if applied across different machines
or if packages are modified, neither of which is the case during the build.
This commit is contained in:
2025-09-02 15:10:03 +02:00
parent f66d21e1c1
commit 73453eb710

View File

@@ -144,7 +144,7 @@ do
echo
# shellcheck disable=SC2086
./configure $features $*
./configure -C $features $*
$MAKE CC="${CC}"
$MAKE check