зеркало из https://github.com/microsoft/cocos2d-x.git
Re-use SAFE_HEAP option in emscripten.
This commit is contained in:
Родитель
4b190c3ddf
Коммит
54423af31d
|
@ -52,8 +52,8 @@ LBITS := $(shell getconf LONG_BIT)
|
|||
INCLUDES += -I$(COCOS_SRC)/platform/third_party/linux
|
||||
|
||||
ifeq ($(DEBUG), 1)
|
||||
CCFLAGS += -O0 -s ASSERTIONS=1 --jcache -s GL_UNSAFE_OPTS=0 # -s SAFE_HEAP=1 As of 2013-23-07 this options causes a segfault
|
||||
CXXFLAGS += -O0 -s ASSERTIONS=1 --jcache -s GL_UNSAFE_OPTS=0 # -s SAFE_HEAP=1 As of 2013-23-07 this options causes a segfault
|
||||
CCFLAGS += -O0 -s ASSERTIONS=1 -s SAFE_HEAP=1 --jcache -s GL_UNSAFE_OPTS=0
|
||||
CXXFLAGS += -O0 -s ASSERTIONS=1 -s SAFE_HEAP=1 --jcache -s GL_UNSAFE_OPTS=0
|
||||
DEFINES += -D_DEBUG -DCOCOS2D_DEBUG=1 -DCP_USE_DOUBLES=0
|
||||
OBJ_DIR := $(OBJ_DIR)/debug
|
||||
LIB_DIR := $(LIB_DIR)/debug
|
||||
|
|
Загрузка…
Ссылка в новой задаче