Skip to content

Commit

Permalink
unix: wrap sccache call with HAVE_SCCACHE
Browse files Browse the repository at this point in the history
Despite checking for the existence of sccache, there is a naked call to it not wrapped with the check for `HAVE_SCCACHE`, added the check
  • Loading branch information
DanielShaulov authored and indygreg committed Feb 16, 2022
1 parent e7a29b8 commit ceb24c9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cpython-unix/build-gcc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,7 @@ make -j `nproc`
make -j `nproc` install DESTDIR=/build/out
popd

sccache -s
if [ -n "${HAVE_SCCACHE}" ]; then
sccache -s
fi

0 comments on commit ceb24c9

Please sign in to comment.