Skip to content

Commit ceb24c9

Browse files
DanielShaulovindygreg
authored andcommitted
unix: wrap sccache call with HAVE_SCCACHE
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
1 parent e7a29b8 commit ceb24c9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

cpython-unix/build-gcc.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,7 @@ make -j `nproc`
5858
make -j `nproc` install DESTDIR=/build/out
5959
popd
6060

61-
sccache -s
61+
if [ -n "${HAVE_SCCACHE}" ]; then
62+
sccache -s
63+
fi
64+

0 commit comments

Comments
 (0)