Skip to content

Commit 21bd070

Browse files
committed
fixup! build: use ccache in make-v8.sh on ppc64le and s390x
1 parent b8c645b commit 21bd070

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tools/make-v8.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,13 @@ if [ "$ARCH" = "s390x" ] || [ "$ARCH" = "ppc64le" ]; then
2525
# invoke, creating symbolic links placed at the front of PATH, if needed.
2626
# Avoid linking to ccache symbolic links as ccache decides which binary
2727
# to run based on the name of the link (i.e. `gcc`/`g++` in our case).
28+
# shellcheck disable=SC2154
2829
if [ "$CC" != "" ] && [ "$CC" != "gcc" ]; then
2930
# shellcheck disable=SC2154
3031
CC_PATH=`command -v "$CC" gcc | grep -v ccache | head -n 1`
3132
ln -s "$CC_PATH" "$BUILD_TOOLS/gcc"
3233
fi
34+
# shellcheck disable=SC2154
3335
if [ "$CXX" != "" ] && [ "$CXX" != "g++" ]; then
3436
# shellcheck disable=SC2154
3537
CXX_PATH=`command -v "$CXX" g++ | grep -v ccache | head -n 1`
@@ -39,6 +41,7 @@ if [ "$ARCH" = "s390x" ] || [ "$ARCH" = "ppc64le" ]; then
3941
# Propagate ccache to gn.
4042
case "$CXX" in
4143
*ccache*) CC_WRAPPER="cc_wrapper=\"ccache\"" ;;
44+
*) ;;
4245
esac
4346

4447
g++ --version

0 commit comments

Comments
 (0)