summaryrefslogtreecommitdiffstats
path: root/bootstrap
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-10-30 13:25:40 (GMT)
committerKitware Robot <kwrobot@kitware.com>2019-10-30 13:25:48 (GMT)
commit28a8561885d5d9e4a8e117545d77e6750031742a (patch)
treea47ca1f181cac9da3cfc7b0ec4156047986eb456 /bootstrap
parent5b64788c51f7676276c0d8685003fd002b27388b (diff)
parent1dbf485934da62b92bed63defb236254ffbeaa10 (diff)
downloadCMake-28a8561885d5d9e4a8e117545d77e6750031742a.zip
CMake-28a8561885d5d9e4a8e117545d77e6750031742a.tar.gz
CMake-28a8561885d5d9e4a8e117545d77e6750031742a.tar.bz2
Merge topic 'bootstrap-break'
1dbf485934 bootstrap: Avoid redundant compiler selection checks Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3959
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap4
1 files changed, 2 insertions, 2 deletions
diff --git a/bootstrap b/bootstrap
index 599d930..4432d49 100755
--- a/bootstrap
+++ b/bootstrap
@@ -1093,7 +1093,7 @@ for std in 11 99 90; do
"${TMPFILE}.c" >> cmake_bootstrap.log 2>&1; then
cmake_c_compiler="${compiler}"
cmake_c_flags="${cmake_c_flags} ${std_flag} ${thread_flag}"
- break 3
+ break 4
fi
done
done
@@ -1204,7 +1204,7 @@ for std in 17 14 11; do
"${TMPFILE}.cxx" >> cmake_bootstrap.log 2>&1; then
cmake_cxx_compiler="${compiler}"
cmake_cxx_flags="${cmake_cxx_flags} ${std_flag} ${thread_flag} "
- break 3
+ break 4
fi
done
done