We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 54e3a74 commit c0a5cbaCopy full SHA for c0a5cba
prepare_deps
@@ -111,13 +111,12 @@ function build_gtest {
111
"BUILD.bazel\nWORKSPACE"
112
if [[ $BAZEL != "true" ]]
113
then
114
+ compiler_override="--incompatible_enable_cc_toolchain_resolution=false"
115
system_name=$(uname -s)
- if [[ $system_name =~ ^MINGW ]]
116
- then
117
- compiler_override="--compiler=mingw-gcc"
118
- elif [[ $system_name =~ ^MSYS_ ]]
119
120
- compiler_override="--compiler=msys-gcc"
+ if [[ $system_name =~ ^MINGW ]]; then
+ compiler_override+=" --compiler=mingw-gcc"
+ elif [[ $system_name =~ ^MSYS_ ]]; then
+ compiler_override+=" --compiler=msys-gcc"
121
fi
122
compiler_override+=" --cxxopt=-std=c++14"
123
$BAZEL --batch build $compiler_override gtest gtest_main
0 commit comments