Quickfix to the refactoring commit: typo in the link flags variable
name.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@310973 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/cmake/Modules/AddCompilerRT.cmake b/cmake/Modules/AddCompilerRT.cmake
index 3cb55db..aa6b4a3 100644
--- a/cmake/Modules/AddCompilerRT.cmake
+++ b/cmake/Modules/AddCompilerRT.cmake
@@ -324,7 +324,7 @@
     SUBDIR ${TEST_SUBDIR}
     OBJECTS ${${test_objects}}
     DEPS ${TEST_DEPS}
-    LINK_FLAGS ${TARGET_LINK_FLAGS}
+    LINK_FLAGS ${TEST_LINK_FLAGS}
     )
   set("${test_objects}" "${${test_objects}}" PARENT_SCOPE)
 endfunction()