fix build error 14
@@ -3,6 +3,9 @@ GIT_VERSION := "$(shell git rev-parse --short HEAD)"
HAS_GCC = 1
ENDIANNESS_DEFINES=
+C_VER = -std=gnu99
+CXX_VER = -std=gnu++11
+
SUPPORT_NP2_THREAD = 1
SUPPORT_DIRENT = 1
SUPPORT_ASYNC_CPU = 1
@@ -241,7 +244,8 @@ else ifeq ($(platform), psp1)
TARGET := $(TARGET_NAME)_libretro_$(platform).a
CC = psp-gcc$(EXE_EXT)
CXX = psp-g++$(EXE_EXT)
- CXX_VER = -std=c++11
+ # not standard c++
+ CXX_VER =
AR = psp-ar$(EXE_EXT)
PLATFORM_DEFINES := -DPSP -G0
PLATFORM_DEFINES += -march=allegrex -mfp32 -mgp32 -mlong32 -mabi=eabi
@@ -261,6 +265,7 @@ else ifeq ($(platform), vita)
PLATFORM_DEFINES := -DVITA -fno-short-enums
STATIC_LINKING=1
DISABLE_GCC_SECURITY_FLAGS = 1
+ SUPPORT_NP2_THREAD = 0
# CTR(3DS)
else ifeq ($(platform), ctr)
@@ -274,6 +279,7 @@ else ifeq ($(platform), ctr)
PLATFORM_DEFINES += -fomit-frame-pointer -fstrict-aliasing -ffast-math
STATIC_LINKING=1
DISABLE_GCC_SECURITY_FLAGS = 1
+ SUPPORT_NP2_THREAD = 0
# Windows MSVC 2003 Xbox 1
else ifeq ($(platform), xbox1_msvc2003)
@@ -850,8 +856,6 @@ ifeq ($(platform), unix)
endif
ifeq ($(HAS_GCC), 1)
- C_VER ?= -std=gnu99
- CXX_VER ?= -std=gnu++11
CFLAGS += -fsigned-char
CXXFLAGS += -fno-rtti
GCC_WARNINGS += -pedantic \
