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

Jonas Hahnfeld via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 29 09:13:42 PDT 2017


Hahnfeld 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)
----------------
alekseyshl wrote:
> Oh, right, it should be:
> 
> string(REPLACE "-nodefaultlibs" "" CMAKE_REQUIRED_FLAGS ${CMAKE_REQUIRED_FLAGS})
Sorry! Thanks for fixing it so fast, my `git-svn` just told me that I'm out of sync!


Repository:
  rL LLVM

https://reviews.llvm.org/D38277





More information about the cfe-commits mailing list