Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit61c1a24

Browse files
authored
gh-127146: Strip dash from Emscripten compiler version (#128557)
`emcc -dumpversion` will sometimes say e.g., `4.0.0-git` but in this caseuname does not include `-git` in the version string. Use cut to deleteeverything after the dash.
1 parent616692d commit61c1a24

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎configure

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -794,7 +794,7 @@ if test "$cross_compiling" = yes; then
794794
_host_ident=$host_cpu
795795
;;
796796
*-*-emscripten)
797-
_host_ident=$(emcc -dumpversion)-$host_cpu
797+
_host_ident=$(emcc -dumpversion | cut -f1 -d-)-$host_cpu
798798
;;
799799
wasm32-*-* | wasm64-*-*)
800800
_host_ident=$host_cpu

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp