summaryrefslogtreecommitdiffstats
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
commit54ea394963fc6b2396107a910378cab55a97bc68 (patch)
tree6177949d0c6aeef231c0241dce4511ee18059d24
parent0d0ba25470154bc775f6e17d852b195af0cccf67 (diff)
downloadbcm5719-llvm-54ea394963fc6b2396107a910378cab55a97bc68.tar.gz
bcm5719-llvm-54ea394963fc6b2396107a910378cab55a97bc68.zip
Fix cmake file broken by D38277.
llvm-svn: 314528
-rw-r--r--compiler-rt/cmake/base-config-ix.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/cmake/base-config-ix.cmake b/compiler-rt/cmake/base-config-ix.cmake
index 45e490481bf..5b21b700c9a 100644
--- a/compiler-rt/cmake/base-config-ix.cmake
+++ b/compiler-rt/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()
OpenPOWER on IntegriCloud