diff options
author | Issam E. Maghni <issam.e.maghni@mailbox.org> | 2021-02-03 18:34:04 (GMT) |
---|---|---|
committer | Issam E. Maghni <issam.e.maghni@mailbox.org> | 2021-02-03 18:36:45 (GMT) |
commit | 11260f6c20b18953dfbf05ccebc3932ebfc92da9 (patch) | |
tree | e5ff5cc98a532f124488cecc8f492b568f816246 /bootstrap | |
parent | c28dbd7e308968089bf97df71d4fd74c99e718f1 (diff) | |
download | CMake-11260f6c20b18953dfbf05ccebc3932ebfc92da9.zip CMake-11260f6c20b18953dfbf05ccebc3932ebfc92da9.tar.gz CMake-11260f6c20b18953dfbf05ccebc3932ebfc92da9.tar.bz2 |
bootstrap: add cmake_ld_flags to include check
Diffstat (limited to 'bootstrap')
-rwxr-xr-x | bootstrap | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -1453,7 +1453,7 @@ KWSYS_CXX_HAS_UTIMES=0 KWSYS_SYSTEMTOOLS_USE_TRANSLATION_MAP=1 if cmake_try_run "${cmake_cxx_compiler}" \ - "${cmake_cxx_flags} -DTEST_KWSYS_CXX_HAS_SETENV" \ + "${cmake_cxx_flags} ${cmake_ld_flags} -DTEST_KWSYS_CXX_HAS_SETENV" \ "${cmake_source_dir}/Source/kwsys/kwsysPlatformTestsCXX.cxx" >> cmake_bootstrap.log 2>&1; then KWSYS_CXX_HAS_SETENV=1 echo "${cmake_cxx_compiler} has setenv" @@ -1462,7 +1462,7 @@ else fi if cmake_try_run "${cmake_cxx_compiler}" \ - "${cmake_cxx_flags} -DTEST_KWSYS_CXX_HAS_UNSETENV" \ + "${cmake_cxx_flags} ${cmake_ld_flags} -DTEST_KWSYS_CXX_HAS_UNSETENV" \ "${cmake_source_dir}/Source/kwsys/kwsysPlatformTestsCXX.cxx" >> cmake_bootstrap.log 2>&1; then KWSYS_CXX_HAS_UNSETENV=1 echo "${cmake_cxx_compiler} has unsetenv" @@ -1471,7 +1471,7 @@ else fi if cmake_try_run "${cmake_cxx_compiler}" \ - "${cmake_cxx_flags} -DTEST_KWSYS_CXX_HAS_ENVIRON_IN_STDLIB_H" \ + "${cmake_cxx_flags} ${cmake_ld_flags} -DTEST_KWSYS_CXX_HAS_ENVIRON_IN_STDLIB_H" \ "${cmake_source_dir}/Source/kwsys/kwsysPlatformTestsCXX.cxx" >> cmake_bootstrap.log 2>&1; then KWSYS_CXX_HAS_ENVIRON_IN_STDLIB_H=1 echo "${cmake_cxx_compiler} has environ in stdlib.h" @@ -1480,7 +1480,7 @@ else fi if cmake_try_run "${cmake_cxx_compiler}" \ - "${cmake_cxx_flags} -DTEST_KWSYS_STL_HAS_WSTRING" \ + "${cmake_cxx_flags} ${cmake_ld_flags} -DTEST_KWSYS_STL_HAS_WSTRING" \ "${cmake_source_dir}/Source/kwsys/kwsysPlatformTestsCXX.cxx" >> cmake_bootstrap.log 2>&1; then KWSYS_STL_HAS_WSTRING=1 echo "${cmake_cxx_compiler} has stl wstring" @@ -1489,7 +1489,7 @@ else fi if cmake_try_run "${cmake_cxx_compiler}" \ - "${cmake_cxx_flags} -DTEST_KWSYS_CXX_HAS_EXT_STDIO_FILEBUF_H" \ + "${cmake_cxx_flags} ${cmake_ld_flags} -DTEST_KWSYS_CXX_HAS_EXT_STDIO_FILEBUF_H" \ "${cmake_source_dir}/Source/kwsys/kwsysPlatformTestsCXX.cxx" >> cmake_bootstrap.log 2>&1; then KWSYS_CXX_HAS_EXT_STDIO_FILEBUF_H=1 echo "${cmake_cxx_compiler} has <ext/stdio_filebuf.h>" |