Add | add lto=yes to nuitka_build
just incase
This commit is contained in:
parent
eedaa3e370
commit
b8b511dd27
@ -56,6 +56,10 @@ if __name__ == '__main__':
|
||||
sys.argv.remove('--output')
|
||||
sys.argv.remove(out_path)
|
||||
|
||||
if '--lto=yes' in sys.argv:
|
||||
compiler.use_lto = True
|
||||
sys.argv.remove('--lto=yes')
|
||||
|
||||
# 检测 --no-pyglet-opt 参数
|
||||
pyglet_optimizations = True
|
||||
if pyglet_optimizations and '--no-pyglet-opt' not in sys.argv:
|
||||
|
Loading…
Reference in New Issue
Block a user