mirror of https://github.com/axmolengine/axmol.git
Use asm.js by default.
This commit is contained in:
parent
25bded7faf
commit
7f03838639
|
@ -49,8 +49,8 @@ OBJ_DIR := $(OBJ_DIR)/debug
|
||||||
LIB_DIR := $(LIB_DIR)/debug
|
LIB_DIR := $(LIB_DIR)/debug
|
||||||
BIN_DIR := $(BIN_DIR)/debug
|
BIN_DIR := $(BIN_DIR)/debug
|
||||||
else
|
else
|
||||||
CCFLAGS += -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
|
CXXFLAGS += -O2 --jcache -s GL_UNSAFE_OPTS=0 -s ASM_JS=1
|
||||||
DEFINES += -DNDEBUG -DCP_USE_DOUBLES=0
|
DEFINES += -DNDEBUG -DCP_USE_DOUBLES=0
|
||||||
OBJ_DIR := $(OBJ_DIR)/release
|
OBJ_DIR := $(OBJ_DIR)/release
|
||||||
LIB_DIR := $(LIB_DIR)/release
|
LIB_DIR := $(LIB_DIR)/release
|
||||||
|
|
Loading…
Reference in New Issue