From: Hood Chatham Date: Tue, 17 Dec 2024 23:17:09 +0000 (+0100) Subject: gh-127146: Emscripten Include compiler version in _PYTHON_HOST_PLATFORM (#127992) X-Git-Tag: v3.14.0a4~255 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b92f101d0f19a1df32050b8502cfcce777b079b2;p=thirdparty%2FPython%2Fcpython.git 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. --- diff --git a/configure b/configure index 57be576e3cae..6df1116fc600 100755 --- a/configure +++ b/configure @@ -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 ;; diff --git a/configure.ac b/configure.ac index bd0221481c53..8295b59b8e45 100644 --- a/configure.ac +++ b/configure.ac @@ -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 ;;