From 68c259c7b3491071218b5ca8c60f294d2029990a Mon Sep 17 00:00:00 2001 From: Tobim6 <102646588+Tobim6@users.noreply.github.com> Date: Thu, 12 Nov 2026 16:22:27 +0100 Subject: [PATCH] make_game.py: the build log says when the lifted code is built at -O2. Co-Authored-By: Claude Opus 5.5 --- tools/make_game.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/make_game.py b/tools/make_game.py index 5343e50e..2df2f550 100644 --- a/tools/make_game.py +++ b/tools/make_game.py @@ -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')