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

llvm-svn: 310973
diff --git a/compiler-rt/cmake/Modules/AddCompilerRT.cmake b/compiler-rt/cmake/Modules/AddCompilerRT.cmake
index 3cb55db..aa6b4a3 100644
--- a/compiler-rt/cmake/Modules/AddCompilerRT.cmake
+++ b/compiler-rt/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()