[PATCH] D31638: [CMake][libcxx] Use check_c_compiler_flag to check for nodefaultlibs
Petr Hosek via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 3 19:45:08 PDT 2017
phosek added a comment.
https://cmake.org/cmake/help/latest/module/CheckCXXCompilerFlag.html says that "This internally calls the check_cxx_source_compiles macro and sets CMAKE_REQUIRED_DEFINITIONS to <flag>" and https://github.com/Kitware/CMake/blob/master/Modules/CheckCXXSourceCompiles.cmake#L67 shows that this is being passed to `try_compile` as `COMPILE_DEFINITIONS`, this is the best I could find.
Repository:
rL LLVM
https://reviews.llvm.org/D31638
More information about the llvm-commits
mailing list