(Blackberry) Add QNX Makefile target

This commit is contained in:
rdanbrook 2013-03-25 07:34:13 +01:00
parent 7002d3f730
commit a7a116b7b0
2 changed files with 10 additions and 1 deletions

View file

@ -44,6 +44,15 @@ else ifeq ($(platform), ios)
CC = clang -arch armv7 -isysroot $(IOSSDK)
CXX = clang++ -arch armv7 -isysroot $(IOSSDK)
else ifeq ($(platform), qnx)
TARGET := nestopia_libretro.so
fpic := -fPIC
SHARED := -lm -shared -Wl,-version-script=link.T -Wl,-no-undefined
CC = qcc -Vgcc_ntoarmv7le
CXX = QCC -Vgcc_ntoarmv7le
AR = QCC -Vgcc_ntoarmv7le
PLATFORM_DEFINES := -D__BLACKBERRY_QNX__ -marm -mcpu=cortex-a9 -mfpu=neon -mfloat-abi=softfp
else ifeq ($(platform), ps3)
HAVE_GCC_WARNINGS := 0
TARGET := nestopia_libretro_ps3.a

View file

@ -28,7 +28,7 @@
#include "NstCore.hpp"
#include "NstPins.hpp"
#ifdef __CELLOS_LV2__
#ifndef ANDROID
#include <wchar.h>
#endif