Merge topic 'fix-ninja-rsp-var-duplication'

71da30ca Ninja: Fix variable duplication in RSP rules
This commit is contained in:
Brad King 2014-10-07 14:12:20 -04:00 committed by CMake Topic Stage
commit 36c7f66206
1 changed files with 1 additions and 1 deletions

View File

@ -205,7 +205,7 @@ void cmGlobalNinjaGenerator::WriteBuild(std::ostream& os,
&& args.size() + buildstr.size() + assignments.size()
> (size_t) cmdLineLimit) {
buildstr += "_RSP_FILE";
variable_assignments.clear();
variable_assignments.str(std::string());
cmGlobalNinjaGenerator::WriteVariable(variable_assignments,
"RSP_FILE", rspfile, "", 1);
assignments += variable_assignments.str();