issue #2404: Reverting cocos2dx/proj.linux/cocos2dx.mk, ignoring deprecated methods since linux build will treat warning as errors.

This commit is contained in:
James Chen 2013-07-25 15:32:46 +08:00
parent aaf5bcef52
commit 90fbcec9c5
1 changed files with 2 additions and 2 deletions

View File

@ -7,8 +7,8 @@ CXX = g++
# 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
# no flag "-std=c++11" (which was turned on in version 4.7).
CCFLAGS += -MMD -Werror -fPIC
CXXFLAGS += -MMD -Werror -fPIC -std=gnu++0x
CCFLAGS += -MMD -Werror -Wno-deprecated-declarations -fPIC
CXXFLAGS += -MMD -Werror -Wno-deprecated-declarations -fPIC -std=gnu++0x
ARFLAGS = cr
DEFINES += -DLINUX -DCC_KEYBOARD_SUPPORT