alekseyshl added a comment.
I wonder what's the error message?
================
Comment at: cmake/base-config-ix.cmake:153
+ # will fail with this option when building with a sanitizer.
+ set(OLD_CMAKE_REQUIRED_FLAGS ${CMAKE_REQUIRED_FLAGS})
+ string(REPLACE "-nodefaultlibs" "" CMAKE_REQUIRED_FLAGS
${OLD_CMAKE_REQUIRED_FLAGS})
----------------
cmake_push_check_state()
================
Comment at: cmake/base-config-ix.cmake:157
+ # Undo the change.
+ set(CMAKE_REQUIRED_FLAGS "${OLD_CMAKE_REQUIRED_FLAGS}")
+
----------------
cmake_pop_check_state()
https://reviews.llvm.org/D38277
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits