Skip to content

Commit 54ea394

Browse files
committedSep 29, 2017
Fix cmake file broken by D38277.
llvm-svn: 314528
1 parent 0d0ba25 commit 54ea394

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎compiler-rt/cmake/base-config-ix.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ macro(test_targets)
151151
# Strip out -nodefaultlibs when calling TEST_BIG_ENDIAN. Configuration
152152
# will fail with this option when building with a sanitizer.
153153
cmake_push_check_state()
154-
string(REPLACE "-nodefaultlibs" "" CMAKE_REQUIRED_FLAGS ${OLD_CMAKE_REQUIRED_FLAGS})
154+
string(REPLACE "-nodefaultlibs" "" CMAKE_REQUIRED_FLAGS ${CMAKE_REQUIRED_FLAGS})
155155
TEST_BIG_ENDIAN(HOST_IS_BIG_ENDIAN)
156156
cmake_pop_check_state()
157157

0 commit comments

Comments
 (0)