diff options
author | Brad King <brad.king@kitware.com> | 2017-05-31 12:52:18 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2017-05-31 12:54:13 (GMT) |
commit | ff56a2f7201d71c741717ee4651075d0accfd9fe (patch) | |
tree | 1c4d0cf10c2400b5fc4e6469947ac12ba635254a | |
parent | 926ef3ee032146b764e216d33270a6a9a65d1d5a (diff) | |
parent | 5dd0b5312c3cafb6a8d9ad2baf641ca4d88b2415 (diff) | |
download | CMake-ff56a2f7201d71c741717ee4651075d0accfd9fe.zip CMake-ff56a2f7201d71c741717ee4651075d0accfd9fe.tar.gz CMake-ff56a2f7201d71c741717ee4651075d0accfd9fe.tar.bz2 |
Merge topic 'bootstrap-drop-osf'
5dd0b531 bootstrap: remove explicit support for Tru64 UNIX
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !904
-rwxr-xr-x | bootstrap | 50 |
1 files changed, 0 insertions, 50 deletions
@@ -1111,56 +1111,6 @@ rm -f "${TMPFILE}.cxx" if [ "x${cmake_cxx_compiler_is_gnu}" != "x1" ]; then # Check for non-GNU compiler flags - # If we are on OSF, check for -timplicit_local -no_implicit_include - cmake_test_flags="-timplicit_local -no_implicit_include" - if [ "x${cmake_system}" = "xOSF1" ]; then - TMPFILE=`cmake_tmp_file` - echo ' - #include <iostream> - int main() { std::cout << "We need '"${cmake_test_flags}"'" << std::endl; return 0;} -' > ${TMPFILE}.cxx - cmake_need_flags=1 - if cmake_try_run "${cmake_cxx_compiler}" \ - "${cmake_cxx_flags} ${cmake_test_flags}" "${TMPFILE}.cxx" >> cmake_bootstrap.log 2>&1; then - : - else - cmake_need_flags=0 - fi - if [ "x${cmake_need_flags}" = "x1" ]; then - cmake_cxx_flags="${cmake_cxx_flags} ${cmake_test_flags}" - echo "${cmake_cxx_compiler} needs ${cmake_test_flags}" - else - echo "${cmake_cxx_compiler} does not need ${cmake_test_flags}" - fi - rm -f "${TMPFILE}.cxx" - fi - cmake_test_flags= - - # If we are on OSF, check for -std strict_ansi -nopure_cname - cmake_test_flags="-std strict_ansi -nopure_cname" - if [ "x${cmake_system}" = "xOSF1" ]; then - TMPFILE=`cmake_tmp_file` - echo ' - #include <iostream> - int main() { std::cout << "We need '"${cmake_test_flags}"'" << std::endl; return 0;} -' > ${TMPFILE}.cxx - cmake_need_flags=1 - if cmake_try_run "${cmake_cxx_compiler}" \ - "${cmake_cxx_flags} ${cmake_test_flags}" "${TMPFILE}.cxx" >> cmake_bootstrap.log 2>&1; then - : - else - cmake_need_flags=0 - fi - if [ "x${cmake_need_flags}" = "x1" ]; then - cmake_cxx_flags="${cmake_cxx_flags} ${cmake_test_flags}" - echo "${cmake_cxx_compiler} needs ${cmake_test_flags}" - else - echo "${cmake_cxx_compiler} does not need ${cmake_test_flags}" - fi - rm -f "${TMPFILE}.cxx" - fi - cmake_test_flags= - # If we are on HP-UX, check for -Ae for the C compiler. if [ "x${cmake_system}" = "xHP-UX" ]; then cmake_test_flags="-Ae" |