[compiler-rt] r314528 - Fix cmake file broken by D38277.
Alex Shlyapnikov via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 29 09:02:39 PDT 2017
Author: alekseyshl
Date: Fri Sep 29 09:02:39 2017
New Revision: 314528
URL: http://llvm.org/viewvc/llvm-project?rev=314528&view=rev
Log:
Fix cmake file broken by D38277.
Modified:
compiler-rt/trunk/cmake/base-config-ix.cmake
Modified: compiler-rt/trunk/cmake/base-config-ix.cmake
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/cmake/base-config-ix.cmake?rev=314528&r1=314527&r2=314528&view=diff
==============================================================================
--- compiler-rt/trunk/cmake/base-config-ix.cmake (original)
+++ compiler-rt/trunk/cmake/base-config-ix.cmake Fri Sep 29 09:02:39 2017
@@ -151,7 +151,7 @@ macro(test_targets)
# Strip out -nodefaultlibs when calling TEST_BIG_ENDIAN. Configuration
# will fail with this option when building with a sanitizer.
cmake_push_check_state()
- string(REPLACE "-nodefaultlibs" "" CMAKE_REQUIRED_FLAGS ${OLD_CMAKE_REQUIRED_FLAGS})
+ string(REPLACE "-nodefaultlibs" "" CMAKE_REQUIRED_FLAGS ${CMAKE_REQUIRED_FLAGS})
TEST_BIG_ENDIAN(HOST_IS_BIG_ENDIAN)
cmake_pop_check_state()
More information about the llvm-commits
mailing list