From 9d26c0129b322037e18d4cc5aac1bf2c914501fd Mon Sep 17 00:00:00 2001 From: Alex Shlyapnikov Date: Fri, 29 Sep 2017 16:02:39 +0000 Subject: Fix cmake file broken by D38277. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@314528 91177308-0d34-0410-b5e6-96231b3b80d8 --- cmake/base-config-ix.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmake') 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() -- cgit v1.2.3