-improve crosscompiling from Linux to iphone (#10526)

Patch by Karol Krizka

Alex
This commit is contained in:
Alex Neundorf
2010-05-01 14:29:13 +02:00
parent 42c40884d2
commit 3901e0408c
7 changed files with 33 additions and 19 deletions

View File

@@ -229,10 +229,8 @@ void cmMakefileExecutableTargetGenerator::WriteExecutableRule(bool relink)
// Add language feature flags.
this->AddFeatureFlags(flags, linkLanguage);
#ifdef __APPLE__
this->LocalGenerator->AddArchitectureFlags(flags, this->Target,
linkLanguage, this->ConfigName);
#endif /* __APPLE__ */
// Add target-specific linker flags.
this->LocalGenerator->AppendFlags