Make sure LINK_FLAGS are seen by generator, fix for part of bug#9613

This commit is contained in:
Bill Hoffman 2009-09-28 21:19:20 -04:00
parent 23dbb3b803
commit 24624e02f1
1 changed files with 6 additions and 0 deletions

View File

@ -798,6 +798,12 @@ OutputLinkIncremental(std::string const& configName)
std::string flagVar = baseFlagVar + std::string("_") + CONFIG;
flags +=
Target->GetMakefile()->GetRequiredDefinition(flagVar.c_str());
}
const char* targetLinkFlags = this->Target->GetProperty("LINK_FLAGS");
if(targetLinkFlags)
{
flags += " ";
flags += targetLinkFlags;
}
if(flags.find("INCREMENTAL:NO") != flags.npos)
{