]> granicus.if.org Git - clang/commitdiff
[CMake] Removing an unnecessary layer of variable indirection
authorChris Bieneman <beanz@apple.com>
Thu, 3 Dec 2015 19:47:25 +0000 (19:47 +0000)
committerChris Bieneman <beanz@apple.com>
Thu, 3 Dec 2015 19:47:25 +0000 (19:47 +0000)
This prevents passthrough variables from having values.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@254642 91177308-0d34-0410-b5e6-96231b3b80d8

runtime/CMakeLists.txt

index 1f6455c90cbaeec6febd1f09bc7318d72dd86e6c..27f028efc63560cfaa9b68dc5a1c9e8214cf562b 100644 (file)
@@ -51,7 +51,7 @@ if(LLVM_BUILD_EXTERNAL_COMPILER_RT AND EXISTS ${COMPILER_RT_SRC_ROOT}/)
     if(variableName MATCHES "^COMPILER_RT")
       string(REPLACE ";" "\;" value "${${variableName}}")
       list(APPEND COMPILER_RT_PASSTHROUGH_VARIABLES
-        -D${variableName}=${${value}})
+        -D${variableName}=${value})
     endif()
   endforeach()