mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-11-05 13:20:11 +00:00
CMake writes a launcher that sets environment variables as a leading `cmake -E env NAME=VALUE ... <launcher> <compiler>`, as the AGC execution tests' ccache launcher does. check_compile took cmake for the compiler, inserted -fsyntax-only before -E and dropped -E as a preprocessing option, so every such source failed with "CMake Error: Unknown argument". Keep the env prefix (NAME=VALUE, --unset=, --modify and --) and rewrite only the command after it; reject its other options and a prefix without a command. Co-Authored-By: Claude Opus 5.5 <[email protected]>