Make sure LINK_FLAGS are seen by generator, fix for part of bug#9613
This commit is contained in:
parent
23dbb3b803
commit
24624e02f1
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue