diff options
author | Ruslan Baratov <ruslan_baratov@yahoo.com> | 2017-04-28 14:13:56 (GMT) |
---|---|---|
committer | Ruslan Baratov <ruslan_baratov@yahoo.com> | 2017-04-28 14:13:56 (GMT) |
commit | 7d057b2738e229192ae5afe71d50354681813235 (patch) | |
tree | bebcaf0fcca709a89a4d6e9dde390ef7003cef38 /Source/cmMakefileLibraryTargetGenerator.cxx | |
parent | d828d0eb084cf094119d2b47dae0053267aba138 (diff) | |
download | CMake-7d057b2738e229192ae5afe71d50354681813235.zip CMake-7d057b2738e229192ae5afe71d50354681813235.tar.gz CMake-7d057b2738e229192ae5afe71d50354681813235.tar.bz2 |
Clang IPO (LTO) support
Diffstat (limited to 'Source/cmMakefileLibraryTargetGenerator.cxx')
-rw-r--r-- | Source/cmMakefileLibraryTargetGenerator.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmMakefileLibraryTargetGenerator.cxx b/Source/cmMakefileLibraryTargetGenerator.cxx index ec01208..5ee9f45 100644 --- a/Source/cmMakefileLibraryTargetGenerator.cxx +++ b/Source/cmMakefileLibraryTargetGenerator.cxx @@ -494,6 +494,8 @@ void cmMakefileLibraryTargetGenerator::WriteLibraryRules( // Create set of linking flags. std::string linkFlags; this->LocalGenerator->AppendFlags(linkFlags, extraFlags); + this->LocalGenerator->AppendIPOLinkerFlags(linkFlags, this->GeneratorTarget, + this->ConfigName, linkLanguage); // Add OSX version flags, if any. if (this->GeneratorTarget->GetType() == cmStateEnums::SHARED_LIBRARY || |