[PATCH] D38277: [compiler-rt][CMake] Fix configuration on PowerPC with sanitizers

Aleksey Shlyapnikov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 29 08:59:52 PDT 2017


alekseyshl added inline comments.


================
Comment at: compiler-rt/trunk/cmake/base-config-ix.cmake:154
+      cmake_push_check_state()
+      string(REPLACE "-nodefaultlibs" "" CMAKE_REQUIRED_FLAGS ${OLD_CMAKE_REQUIRED_FLAGS})
       TEST_BIG_ENDIAN(HOST_IS_BIG_ENDIAN)
----------------
Oh, right, it should be:

string(REPLACE "-nodefaultlibs" "" CMAKE_REQUIRED_FLAGS ${CMAKE_REQUIRED_FLAGS})


Repository:
  rL LLVM

https://reviews.llvm.org/D38277





More information about the cfe-commits mailing list