diff options
| author | Rémi Verschelde <rverschelde@gmail.com> | 2017-11-02 09:11:29 +0100 |
|---|---|---|
| committer | Rémi Verschelde <rverschelde@gmail.com> | 2017-11-02 09:11:50 +0100 |
| commit | cefdb34f6c1af31048340182c10587099c39da44 (patch) | |
| tree | a2ebb74b5c5182d8f767be77ce36e76a694d1b2f /SConstruct | |
| parent | 51b7fd90e645ab8c39d55268d2c8c5eb38925fc1 (diff) | |
| download | redot-engine-cefdb34f6c1af31048340182c10587099c39da44.tar.gz | |
SCons: make use_lto a global option and opt-in for iphone
Supersedes #12553, see discussion in #12552.
Diffstat (limited to 'SConstruct')
| -rw-r--r-- | SConstruct | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct index 484368c9b5..9d536e0d16 100644 --- a/SConstruct +++ b/SConstruct @@ -143,6 +143,7 @@ opts.Add('p', "Platform (alias for 'platform')", '') opts.Add('platform', "Target platform (%s)" % ('|'.join(platform_list), ), '') opts.Add(EnumVariable('target', "Compilation target", 'debug', ('debug', 'release_debug', 'release'))) opts.Add(BoolVariable('tools', "Build the tools a.k.a. the Godot editor", True)) +opts.Add(BoolVariable('use_lto', 'Use linking time optimization', False)) # Components opts.Add(BoolVariable('deprecated', "Enable deprecated features", True)) |
