File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments