mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-11 23:54:18 +00:00
Fixed some bugs in LTO builds
This commit is contained in:
parent
98f8ee9e04
commit
f2261faee7
3 changed files with 24 additions and 8 deletions
|
|
@ -481,6 +481,9 @@ private:
|
|||
if (! config.isDebug())
|
||||
flags.add ("-s");
|
||||
|
||||
if (config.isLinkTimeOptimisationEnabled())
|
||||
flags.add ("-flto");
|
||||
|
||||
flags.addTokens (replacePreprocessorTokens (config, getExtraLinkerFlagsString()).trim(), " \n", "\"'");
|
||||
|
||||
const auto packages = getPackages();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue