Permalink
Browse files

More emscripten flags.

  • Loading branch information...
1 parent 414162c commit 706c5161321b7f7b6d5bb24bb78b05bf3820113d @joelgwebber committed Dec 10, 2011
Showing with 4 additions and 1 deletion.
  1. +4 −1 c/Makefile
View
@@ -5,7 +5,10 @@ LFLAGS = -lstdc++
EMMAKEN = /Users/jgw/src/emscripten/tools/emmaken.py
EMSCRIPTEN = /Users/jgw/src/emscripten/emscripten.py
EMMAKEN_FLAGS = -I Box2D_v2.2.1 -DNDEBUG=1
-EMSCRIPTEN_FLAGS = --optimize -s RELOP=1 -s USE_TYPED_ARRAYS=1 -s SAFE_HEAP=0 -s ASSERTIONS=0 -s QUANTUM_SIZE=1
+EMSCRIPTEN_FLAGS = --optimize -s RELOP=1 -s USE_TYPED_ARRAYS=1 -s SAFE_HEAP=0 -s ASSERTIONS=0 -s QUANTUM_SIZE=1 \
+ -s SKIP_STACK_IN_SMALL=1 -s INIT_STACK=0 -s PGO=0 -s CHECK_OVERFLOWS=0 -s CHECK_SIGNED_OVERFLOWS=0 \
+ -s CORRECT_OVERFLOWS=0 -s CHCK_SIGNS=0 -s CORRECT_SIGNS=0 -s CORRECT_ROUNDINGS=0 -s MICRO_OPTS=0 \
+ -s DISABLE_EXCEPTION_CATCHING=1 -s RUNTYPE_TYPE_INFO=0
OBJECTS = out/Bench2d.o \
out/Box2D_v2.2.1/Box2d/Collision/b2BroadPhase.o \

0 comments on commit 706c516

Please sign in to comment.