Fix inclusion of libc++ in wasm build

This commit is contained in:
Max Brunsfeld 2019-04-27 18:06:34 -07:00
parent 73e1512555
commit f3ecafe13b
3 changed files with 14 additions and 4 deletions

View file

@ -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 \