mirror of https://github.com/axmolengine/axmol.git
issue #2404: Open deprecated warning for Android and Linux.
This commit is contained in:
parent
387ea1899c
commit
f8392adce2
|
@ -170,8 +170,8 @@ LOCAL_WHOLE_STATIC_LIBRARIES += cocos_libtiff_static
|
||||||
LOCAL_WHOLE_STATIC_LIBRARIES += cocos_libwebp_static
|
LOCAL_WHOLE_STATIC_LIBRARIES += cocos_libwebp_static
|
||||||
|
|
||||||
# define the macro to compile through support/zip_support/ioapi.c
|
# define the macro to compile through support/zip_support/ioapi.c
|
||||||
LOCAL_CFLAGS := -Wno-psabi -Wno-deprecated-declarations -DUSE_FILE32API
|
LOCAL_CFLAGS := -Wno-psabi -DUSE_FILE32API
|
||||||
LOCAL_EXPORT_CFLAGS := -Wno-psabi -Wno-deprecated-declarations -DUSE_FILE32API
|
LOCAL_EXPORT_CFLAGS := -Wno-psabi -DUSE_FILE32API
|
||||||
|
|
||||||
include $(BUILD_STATIC_LIBRARY)
|
include $(BUILD_STATIC_LIBRARY)
|
||||||
|
|
||||||
|
|
|
@ -7,8 +7,8 @@ CXX = g++
|
||||||
# GCC 4.6 is primary platform for cocos2d v.3, because it's default compiler for Android,
|
# GCC 4.6 is primary platform for cocos2d v.3, because it's default compiler for Android,
|
||||||
# Blackberry, some Linux distributions.It supports all important features of c++11, but have
|
# Blackberry, some Linux distributions.It supports all important features of c++11, but have
|
||||||
# no flag "-std=c++11" (which was turned on in version 4.7).
|
# no flag "-std=c++11" (which was turned on in version 4.7).
|
||||||
CCFLAGS += -MMD -Werror -Wno-deprecated-declarations -fPIC
|
CCFLAGS += -MMD -Werror -fPIC
|
||||||
CXXFLAGS += -MMD -Werror -Wno-deprecated-declarations -fPIC -std=gnu++0x
|
CXXFLAGS += -MMD -Werror -fPIC -std=gnu++0x
|
||||||
ARFLAGS = cr
|
ARFLAGS = cr
|
||||||
|
|
||||||
DEFINES += -DLINUX -DCC_KEYBOARD_SUPPORT
|
DEFINES += -DLINUX -DCC_KEYBOARD_SUPPORT
|
||||||
|
|
Loading…
Reference in New Issue