Use asm.js by default.

This commit is contained in:
James Gregory 2013-05-08 14:59:48 -07:00
parent 25bded7faf
commit 7f03838639
1 changed files with 2 additions and 2 deletions

View File

@ -49,8 +49,8 @@ OBJ_DIR := $(OBJ_DIR)/debug
LIB_DIR := $(LIB_DIR)/debug
BIN_DIR := $(BIN_DIR)/debug
else
CCFLAGS += -O2 --jcache -s GL_UNSAFE_OPTS=0
CXXFLAGS += -O2 --jcache -s GL_UNSAFE_OPTS=0
CCFLAGS += -O2 --jcache -s GL_UNSAFE_OPTS=0 -s ASM_JS=1
CXXFLAGS += -O2 --jcache -s GL_UNSAFE_OPTS=0 -s ASM_JS=1
DEFINES += -DNDEBUG -DCP_USE_DOUBLES=0
OBJ_DIR := $(OBJ_DIR)/release
LIB_DIR := $(LIB_DIR)/release