Skip to content

Commit

Permalink
emscripten: remove EMCC_CORES=1 in 2.0.17
Browse files Browse the repository at this point in the history
  • Loading branch information
truboxl authored and Leonid Pliushch committed Apr 24, 2021
1 parent 15a5508 commit 0aba7bd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/emscripten/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -143,11 +143,10 @@ termux_step_make_install() {
sed -i .emscripten -e "s|'NODE'.*|'NODE', '$TERMUX_PREFIX/bin/node')) # executable|"
install -Dm644 "$TERMUX_PKG_SRCDIR/.emscripten" "$TERMUX_PREFIX/lib/emscripten/.emscripten"

# https://github.com/emscripten-core/emscripten/issues/9098
# https://github.com/emscripten-core/emscripten/issues/9098 (fixed in 2.0.17)
cat <<- EOF > "$TERMUX_PKG_TMPDIR/emscripten.sh"
#!$TERMUX_PREFIX/bin/sh
export PATH=\$PATH:$TERMUX_PREFIX/lib/emscripten
export EMCC_CORES=1
EOF
install -Dm644 "$TERMUX_PKG_TMPDIR/emscripten.sh" "$TERMUX_PREFIX/etc/profile.d/emscripten.sh"

Expand Down

0 comments on commit 0aba7bd

Please sign in to comment.