mirror of
https://github.com/python/cpython.git
synced 2025-12-31 04:23:37 +00:00
gh-127146: Emscripten Include compiler version in _PYTHON_HOST_PLATFORM (#127992)
Modifies _PYTHON_HOST_PLATFORM to include the compiler version under Emscripten. The Emscripten compiler version is the platform version compatibility identifier.
This commit is contained in:
parent
be8ae08687
commit
b92f101d0f
2 changed files with 6 additions and 0 deletions
3
configure
generated
vendored
3
configure
generated
vendored
|
|
@ -4545,6 +4545,9 @@ printf "%s\n" "$IPHONEOS_DEPLOYMENT_TARGET" >&6; }
|
|||
*-*-vxworks*)
|
||||
_host_ident=$host_cpu
|
||||
;;
|
||||
*-*-emscripten)
|
||||
_host_ident=$(emcc -dumpversion)-$host_cpu
|
||||
;;
|
||||
wasm32-*-* | wasm64-*-*)
|
||||
_host_ident=$host_cpu
|
||||
;;
|
||||
|
|
|
|||
|
|
@ -793,6 +793,9 @@ if test "$cross_compiling" = yes; then
|
|||
*-*-vxworks*)
|
||||
_host_ident=$host_cpu
|
||||
;;
|
||||
*-*-emscripten)
|
||||
_host_ident=$(emcc -dumpversion)-$host_cpu
|
||||
;;
|
||||
wasm32-*-* | wasm64-*-*)
|
||||
_host_ident=$host_cpu
|
||||
;;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue