From 804dbfc99259a3fe21a935ecb57c2a41f5338620 Mon Sep 17 00:00:00 2001 From: shenjack <3695888@qq.com> Date: Thu, 17 Aug 2023 20:31:49 +0800 Subject: [PATCH] use lto=yes on github? --- nuitka_build.py | 1 + 1 file changed, 1 insertion(+) diff --git a/nuitka_build.py b/nuitka_build.py index 515ea85..d8ae7af 100644 --- a/nuitka_build.py +++ b/nuitka_build.py @@ -37,6 +37,7 @@ if __name__ == '__main__': compiler.output_path = Path('./build/github') compiler.python_cmd = 'python' compiler.save_xml = False + compiler.use_lto = True # 检测 --xml 参数 if '--xml' in sys.argv: