diff options
| author | Zousar Shaker <[email protected]> | 2024-12-06 21:47:11 -0700 |
|---|---|---|
| committer | Zousar Shaker <[email protected]> | 2024-12-06 21:47:11 -0700 |
| commit | 5688fa8f46fe3cd32f283adcc590e447174c58a8 (patch) | |
| tree | dccaef1a87cf454639f45e330732221ce4eb1712 /xmake.lua | |
| parent | changelog (diff) | |
| parent | 5.5.16-pre0 (diff) | |
| download | zen-zs/xrepo.tar.xz zen-zs/xrepo.zip | |
Merge branch 'main' into zs/xrepozs/xrepo
Diffstat (limited to 'xmake.lua')
| -rw-r--r-- | xmake.lua | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -65,7 +65,11 @@ add_rules("mode.debug", "mode.release") --add_rules("c++.unity_build") if is_mode("release") then - set_optimize("smallest") + -- LTO does not appear to work with the current UE toolchain + if not is_plat("linux") then + set_policy("build.optimization.lto", true) + end + set_optimize("fastest") end if is_mode("debug") then |