(BlackBerry) Fix the INLINE def and a SIGBUS caused by -O3

This commit is contained in:
CatalystG 2013-04-20 12:38:41 -04:00
parent 3f6842b99d
commit 2edcbc2373

View File

@ -109,7 +109,11 @@ endif
ifeq ($(DEBUG), 1)
CFLAGS += -O0 -g
else
CFLAGS += -O3 -DNDEBUG
ifeq ($(platform),qnx)
CFLAGS += -Os -DNDEBUG
else
CFLAGS += -O3 -DNDEBUG
endif
endif
LIBRETRO_SRC := $(GENPLUS_SRC_DIR)/genesis.c \
@ -193,7 +197,7 @@ LIBRETRO_CFLAGS += -I$(GENPLUS_SRC_DIR) \
-D__LIBRETRO__
ifeq ($(platform), qnx)
LIBRETRO_CFLAGS += -DINLINE=static
LIBRETRO_CFLAGS += -D__inline__=inline
else
LIBRETRO_CFLAGS += -DINLINE="static inline"
endif