diff options
author | Nils Gladitz <nilsgladitz@gmail.com> | 2014-07-29 19:33:38 (GMT) |
---|---|---|
committer | Nils Gladitz <nilsgladitz@gmail.com> | 2014-07-29 19:33:38 (GMT) |
commit | 250ad08a085f54c1445369cdf3bf278613c6c0e5 (patch) | |
tree | 9404c116816fcce44c2118b25091ab588f772a7e /Source/cmNinjaNormalTargetGenerator.cxx | |
parent | afe21fc3c43af0c031a77b3b48041d35f248f481 (diff) | |
download | CMake-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.cxx | 7 |
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 = ""; } |