aedi: enable link-time optimization for quakespasm-exp

This commit is contained in:
alexey.lysiuk 2023-10-06 11:00:12 +03:00
parent b2eed03d30
commit ceca248e7c

View file

@ -488,7 +488,10 @@ class QuakespasmExpTarget(CMakeMainTarget):
if state.xcode:
opts['QUAKE_BUILD_ENGINE_PAK'] = 'OFF'
elif state.architecture() != machine():
opts['MakeQuakePak_DIR'] = state.native_build_path
else:
opts['QUAKE_LTO'] = 'ON'
if state.architecture() != machine():
opts['MakeQuakePak_DIR'] = state.native_build_path
super().configure(state)