summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
Diffstat (limited to 'clang')
-rw-r--r--clang/runtime/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/runtime/CMakeLists.txt b/clang/runtime/CMakeLists.txt
index 1a015f05f9a..ebbe152be1d 100644
--- a/clang/runtime/CMakeLists.txt
+++ b/clang/runtime/CMakeLists.txt
@@ -48,7 +48,7 @@ if(LLVM_BUILD_EXTERNAL_COMPILER_RT AND EXISTS ${COMPILER_RT_SRC_ROOT}/)
# them.
get_cmake_property(variableNames VARIABLES)
foreach(varaibleName ${variableNames})
- if(${varaibleName} MATCHES "^COMPILER_RT")
+ if(varaibleName MATCHES "^COMPILER_RT")
list(APPEND COMPILER_RT_PASSTHROUGH_VARIABLES
-D${varaibleName}=${${varaibleName}})
endif()
OpenPOWER on IntegriCloud