Skip to content

Commit b92f101

Browse files
authored
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.
1 parent be8ae08 commit b92f101

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

configure

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

configure.ac

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -793,6 +793,9 @@ if test "$cross_compiling" = yes; then
793793
*-*-vxworks*)
794794
_host_ident=$host_cpu
795795
;;
796+
*-*-emscripten)
797+
_host_ident=$(emcc -dumpversion)-$host_cpu
798+
;;
796799
wasm32-*-* | wasm64-*-*)
797800
_host_ident=$host_cpu
798801
;;

0 commit comments

Comments
 (0)