summaryrefslogtreecommitdiff
path: root/cmake/base-config-ix.cmake
diff options
context:
space:
mode:
authorAlex Shlyapnikov <alekseys@google.com>2017-09-29 16:02:39 +0000
committerAlex Shlyapnikov <alekseys@google.com>2017-09-29 16:02:39 +0000
commit9d26c0129b322037e18d4cc5aac1bf2c914501fd (patch)
treeb4d94e86a4e488bf673d0d9495e1f217c01d1d72 /cmake/base-config-ix.cmake
parent6858138437b6d264d6a20e25b033cd4f2b23ec55 (diff)
Fix cmake file broken by D38277.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@314528 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake/base-config-ix.cmake')
-rw-r--r--cmake/base-config-ix.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/base-config-ix.cmake b/cmake/base-config-ix.cmake
index 45e490481..5b21b700c 100644
--- a/cmake/base-config-ix.cmake
+++ b/cmake/base-config-ix.cmake
@@ -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()