use lto=yes on github?

This commit is contained in:
shenjack 2023-08-17 20:31:49 +08:00
parent 8e494faa63
commit 804dbfc992
Signed by: shenjack
GPG Key ID: 7B1134A979775551

View File

@ -37,6 +37,7 @@ if __name__ == '__main__':
compiler.output_path = Path('./build/github') compiler.output_path = Path('./build/github')
compiler.python_cmd = 'python' compiler.python_cmd = 'python'
compiler.save_xml = False compiler.save_xml = False
compiler.use_lto = True
# 检测 --xml 参数 # 检测 --xml 参数
if '--xml' in sys.argv: if '--xml' in sys.argv: