Bug report
Bug description:
In the Emscripten build, Python generates Python/emscripten_trampoline_inner.wasm with a rule in Makefile.pre.in that derives clang from $(CC) as if CC were a single executable path.
Current rule:
$$(dirname $$(dirname $(CC)))/bin/clang ...
This fails when CC contains a wrapper, for example:
CC="ccache /path/to/emcc"
because dirname is given multiple arguments and the shell command becomes invalid.
CPython versions tested on:
3.14
Operating systems tested on:
Other, macOS
Linked PRs
Bug report
Bug description:
In the Emscripten build, Python generates Python/emscripten_trampoline_inner.wasm with a rule in Makefile.pre.in that derives clang from $(CC) as if CC were a single executable path.
Current rule:
This fails when CC contains a wrapper, for example:
CC="ccache /path/to/emcc"
because dirname is given multiple arguments and the shell command becomes invalid.
CPython versions tested on:
3.14
Operating systems tested on:
Other, macOS
Linked PRs