We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0d0ba25 commit 54ea394Copy full SHA for 54ea394
compiler-rt/cmake/base-config-ix.cmake
@@ -151,7 +151,7 @@ macro(test_targets)
151
# Strip out -nodefaultlibs when calling TEST_BIG_ENDIAN. Configuration
152
# will fail with this option when building with a sanitizer.
153
cmake_push_check_state()
154
- string(REPLACE "-nodefaultlibs" "" CMAKE_REQUIRED_FLAGS ${OLD_CMAKE_REQUIRED_FLAGS})
+ string(REPLACE "-nodefaultlibs" "" CMAKE_REQUIRED_FLAGS ${CMAKE_REQUIRED_FLAGS})
155
TEST_BIG_ENDIAN(HOST_IS_BIG_ENDIAN)
156
cmake_pop_check_state()
157
0 commit comments