summaryrefslogtreecommitdiffstats
path: root/Source/cmNinjaNormalTargetGenerator.cxx
diff options
context:
space:
mode:
authorNils Gladitz <nilsgladitz@gmail.com>2014-07-29 19:33:38 (GMT)
committerNils Gladitz <nilsgladitz@gmail.com>2014-07-29 19:33:38 (GMT)
commit250ad08a085f54c1445369cdf3bf278613c6c0e5 (patch)
tree9404c116816fcce44c2118b25091ab588f772a7e /Source/cmNinjaNormalTargetGenerator.cxx
parentafe21fc3c43af0c031a77b3b48041d35f248f481 (diff)
downloadCMake-250ad08a085f54c1445369cdf3bf278613c6c0e5.zip
CMake-250ad08a085f54c1445369cdf3bf278613c6c0e5.tar.gz
CMake-250ad08a085f54c1445369cdf3bf278613c6c0e5.tar.bz2
Ninja: Remove _COMPILER_LINKER_OPTION_FLAG_ remnants
Diffstat (limited to 'Source/cmNinjaNormalTargetGenerator.cxx')
-rw-r--r--Source/cmNinjaNormalTargetGenerator.cxx7
1 files changed, 1 insertions, 6 deletions
diff --git a/Source/cmNinjaNormalTargetGenerator.cxx b/Source/cmNinjaNormalTargetGenerator.cxx
index 15a1b32..e344df4 100644
--- a/Source/cmNinjaNormalTargetGenerator.cxx
+++ b/Source/cmNinjaNormalTargetGenerator.cxx
@@ -187,12 +187,7 @@ cmNinjaNormalTargetGenerator
responseFlag += rspfile;
// build response file content
- std::string linkOptionVar = cmakeVarLang;
- linkOptionVar += "_COMPILER_LINKER_OPTION_FLAG_";
- linkOptionVar += cmTarget::GetTargetTypeName(targetType);
- const std::string linkOption =
- GetMakefile()->GetSafeDefinition(linkOptionVar);
- rspcontent = "$in_newline "+linkOption+" $LINK_PATH $LINK_LIBRARIES";
+ rspcontent = "$in_newline $LINK_PATH $LINK_LIBRARIES";
vars.Objects = responseFlag.c_str();
vars.LinkLibraries = "";
}