diff options
author | Brad King <brad.king@kitware.com> | 2010-01-28 21:48:20 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2010-01-28 21:48:20 (GMT) |
commit | dc1d2189ae922be9d6e7f5fde698532db47e46aa (patch) | |
tree | 28ef61aac78f0bdc190a760d53b6cb89b24262cd /Source/cmMakefileLibraryTargetGenerator.cxx | |
parent | 612409e5b01a7e4823bb379ee9e002177793eb75 (diff) | |
download | CMake-dc1d2189ae922be9d6e7f5fde698532db47e46aa.zip CMake-dc1d2189ae922be9d6e7f5fde698532db47e46aa.tar.gz CMake-dc1d2189ae922be9d6e7f5fde698532db47e46aa.tar.bz2 |
CMake 2.8.1-rc1
Diffstat (limited to 'Source/cmMakefileLibraryTargetGenerator.cxx')
-rw-r--r-- | Source/cmMakefileLibraryTargetGenerator.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmMakefileLibraryTargetGenerator.cxx b/Source/cmMakefileLibraryTargetGenerator.cxx index 4070a3b..f351174 100644 --- a/Source/cmMakefileLibraryTargetGenerator.cxx +++ b/Source/cmMakefileLibraryTargetGenerator.cxx @@ -682,6 +682,11 @@ 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 if(forbiddenFlagVar) |