-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

@@ -682,10 +682,8 @@ void cmMakefileLibraryTargetGenerator::WriteLibraryRules
std::string langFlags;
this->AddFeatureFlags(langFlags, linkLanguage);
#ifdef __APPLE__
this->LocalGenerator->AddArchitectureFlags(langFlags, this->Target,
linkLanguage, this->ConfigName);
#endif /* __APPLE__ */
// remove any language flags that might not work with the
// particular os