Fix inclusion of libc++ in wasm build
This commit is contained in:
parent
73e1512555
commit
f3ecafe13b
3 changed files with 14 additions and 4 deletions
|
|
@ -2,8 +2,6 @@
|
|||
|
||||
set -e
|
||||
|
||||
export EMCC_FORCE_STDLIBS=libc++
|
||||
|
||||
args="-Os"
|
||||
if [[ "$1" == "--debug" ]]; then
|
||||
args="-s ASSERTIONS=1 SAFE_HEAP=1 -O0"
|
||||
|
|
@ -15,6 +13,7 @@ docker run \
|
|||
--rm \
|
||||
-v $(pwd):/src \
|
||||
-u $(id -u) \
|
||||
-e EMCC_FORCE_STDLIBS=libc++ \
|
||||
trzeci/emscripten-slim \
|
||||
\
|
||||
emcc \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue