Make cmLocalGenerator::AddArchitectureFlags take a cmGeneratorTarget.

This commit is contained in:
Stephen Kelly
2012-09-16 01:16:43 +02:00
parent 4f5384e75c
commit 78bfee35d5
13 changed files with 56 additions and 49 deletions

View File

@@ -210,7 +210,7 @@ void cmMakefileExecutableTargetGenerator::WriteExecutableRule(bool relink)
// Add language feature flags.
this->AddFeatureFlags(flags, linkLanguage);
this->LocalGenerator->AddArchitectureFlags(flags, this->Target,
this->LocalGenerator->AddArchitectureFlags(flags, this->GeneratorTarget,
linkLanguage, this->ConfigName);
// Add target-specific linker flags.