diff options
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 |