mirror of
https://github.com/reactos/CMake.git
synced 2024-11-30 15:00:41 +00:00
Merge topic 'bootstrap-break'
1dbf485934
bootstrap: Avoid redundant compiler selection checks
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3959
This commit is contained in:
commit
28a8561885
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user