mirror of
https://github.com/ekeeke/Genesis-Plus-GX.git
synced 2024-11-05 02:15:07 +01:00
(BlackBerry) Fix the INLINE def and a SIGBUS caused by -O3
This commit is contained in:
parent
3f6842b99d
commit
2edcbc2373
@ -108,9 +108,13 @@ endif
|
||||
|
||||
ifeq ($(DEBUG), 1)
|
||||
CFLAGS += -O0 -g
|
||||
else
|
||||
ifeq ($(platform),qnx)
|
||||
CFLAGS += -Os -DNDEBUG
|
||||
else
|
||||
CFLAGS += -O3 -DNDEBUG
|
||||
endif
|
||||
endif
|
||||
|
||||
LIBRETRO_SRC := $(GENPLUS_SRC_DIR)/genesis.c \
|
||||
$(GENPLUS_SRC_DIR)/vdp_ctrl.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
|
||||
|
Loading…
Reference in New Issue
Block a user