mirror of
https://github.com/libretro/libretro-meowPC98.git
synced 2024-11-23 00:09:51 +00:00
Add QNX support
This commit is contained in:
parent
809d6e2d1d
commit
ab2792bc20
@ -17,6 +17,7 @@ endif
|
||||
endif
|
||||
|
||||
TARGET_NAME := nekop2
|
||||
MAXOPT = -O3
|
||||
|
||||
# system platform
|
||||
system_platform = unix
|
||||
@ -108,6 +109,8 @@ else ifeq ($(platform), qnx)
|
||||
CXX = QCC -Vgcc_ntoarmv7le_cpp
|
||||
AR = QCC -Vgcc_ntoarmv7le
|
||||
PLATFORM_DEFINES := -D__BLACKBERRY_QNX__ -fexceptions -marm -mcpu=cortex-a9 -mfpu=neon -mfloat-abi=softfp
|
||||
# -O3 causes compiler to crash
|
||||
MAXOPT = -O2
|
||||
|
||||
else ifeq ($(platform), android)
|
||||
TARGET := $(TARGET_NAME)_libretro.so
|
||||
@ -219,7 +222,7 @@ endif
|
||||
ifeq ($(DEBUG), 1)
|
||||
COMMONFLAGS += -O0 -g
|
||||
else
|
||||
COMMONFLAGS += -O3 -DNDEBUG -DGIT_VERSION=\"$(GIT_VERSION)\"
|
||||
COMMONFLAGS += $(MAXOPT) -DNDEBUG -DGIT_VERSION=\"$(GIT_VERSION)\"
|
||||
endif
|
||||
|
||||
CORE_DIR := .
|
||||
|
Loading…
Reference in New Issue
Block a user