Skip to content

Commit

Permalink
-O2 for emscripten
Browse files Browse the repository at this point in the history
  • Loading branch information
sehugg committed Jan 9, 2017
1 parent 0010af0 commit a938fee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Makefile
Expand Up @@ -87,7 +87,7 @@ alpha:
dasm.js:
cp -rp ../machines .
docker run --rm -v $(shell pwd):/src -t apiaryio/emcc emmake make dasm
docker run --rm -v $(shell pwd):/src -t apiaryio/emcc emcc -O1 \
docker run --rm -v $(shell pwd):/src -t apiaryio/emcc emcc -O2 --memory-init-file 0 \
-s ASM_JS=1 \
-s MODULARIZE=1 \
-s EXPORT_NAME=\"'DASM'\" \
Expand Down

0 comments on commit a938fee

Please sign in to comment.