mirror of
https://github.com/RetroPortingToolKit/psxrecomp
synced 2026-10-26 02:11:36 -04:00
9714fb678a
- compile_overlays: the bundle layout now compiles with -nostdinc and only the bundle's own headers (tcc's include/, then musl's libc-include/), so a host with libc6-dev cannot change what a shard compiles against. - runtime/tests/test_linux_tcc_bundle_smoke.py (ctest linux_tcc_bundle_smoke_test): stages the bundle exactly as a release does (pinned tcc 0.9.27 built from source, musl 1.2.5 headers, runtime headers), compiles an emitter-shaped overlay shard through compile_overlays' own tcc path (preamble shim, call_by_address rewrite, exports) for PGXP flavors 0 and 2 with PATH emptied, loads the .so and checks overlay_abi() and the exported function. Linux x86_64 only (skips 77 elsewhere). Passes in the Steam Runtime sniper SDK image. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>