mirror of
https://github.com/ekeeke/Genesis-Plus-GX.git
synced 2024-12-26 11:11:48 +01:00
(BlackBerry) Fix the INLINE def and a SIGBUS caused by -O3
This commit is contained in:
parent
3f6842b99d
commit
2edcbc2373
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user