make_game.py: the build log says when the lifted code is built at -O2.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Tobim6
2026-11-12 16:22:27 +01:00
parent a2656f8501
commit 68c259c7b3

View File

@@ -1721,6 +1721,8 @@ def step_compile(out, cache_dir, msys, jobs, romfs_job=None, update=False):
cid, cid_old = compiler_ids(clang, env) # fast_clang's compiler writes the same objects: not part of the key
now = cpu_level(clang, env)
level = lifted_level(obj, now, update)
if os.environ.get('NX2NAVI_GUEST_OPT', '').strip() == '2': # runtime_cmd's guest_opt
say(' lifted code at -O2 (NX2NAVI_GUEST_OPT): a long build')
if level == now:
say(f' the lifted code is built for x86-64-v{level}, this processor\'s level' if level else
' the lifted code is built for generic x86-64: the processor\'s level could not be read')