SCons: make use_lto a global option and opt-in for iphone
Supersedes #12553, see discussion in #12552.
This commit is contained in:
@ -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))
|
||||
|
||||
Reference in New Issue
Block a user