Re-use SAFE_HEAP option in emscripten.

This commit is contained in:
Éloi Rivard 2013-07-29 10:58:14 +02:00
Родитель 4b190c3ddf
Коммит 54423af31d
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -52,8 +52,8 @@ LBITS := $(shell getconf LONG_BIT)
INCLUDES += -I$(COCOS_SRC)/platform/third_party/linux INCLUDES += -I$(COCOS_SRC)/platform/third_party/linux
ifeq ($(DEBUG), 1) 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 CCFLAGS += -O0 -s ASSERTIONS=1 -s SAFE_HEAP=1 --jcache -s GL_UNSAFE_OPTS=0
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 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 DEFINES += -D_DEBUG -DCOCOS2D_DEBUG=1 -DCP_USE_DOUBLES=0
OBJ_DIR := $(OBJ_DIR)/debug OBJ_DIR := $(OBJ_DIR)/debug
LIB_DIR := $(LIB_DIR)/debug LIB_DIR := $(LIB_DIR)/debug