Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
gh-127146: Strip dash from Emscripten compiler version
`emcc -dumpversion` will sometimes say e.g., `4.0.0-git` but in this case
uname does not include `-git` in the version string. Use cut to delete
everything after the dash.
  • Loading branch information
hoodmane committed Jan 6, 2025
commit 272ad5c28d8b6b7e82119eac4e73b39d7ca6d7b9
2 changes: 1 addition & 1 deletion configure

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -794,7 +794,7 @@ if test "$cross_compiling" = yes; then
_host_ident=$host_cpu
;;
*-*-emscripten)
_host_ident=$(emcc -dumpversion)-$host_cpu
_host_ident=$(emcc -dumpversion | cut -f1 -d-)-$host_cpu
;;
wasm32-*-* | wasm64-*-*)
_host_ident=$host_cpu
Expand Down