mirror of
https://github.com/libretro/mame2003-libretro.git
synced 2024-11-23 08:29:49 +00:00
Updates
This commit is contained in:
parent
4fe02c8885
commit
4378e99eee
6
Makefile
6
Makefile
@ -341,7 +341,11 @@ endif
|
||||
ifeq ($(DEBUG), 1)
|
||||
CFLAGS += -O0 -Wall -Wno-unused -g
|
||||
else
|
||||
CFLAGS += -DNDEBUG -O2 -fomit-frame-pointer -fstrict-aliasing
|
||||
CFLAGS += -O2 -DNDEBUG
|
||||
endif
|
||||
|
||||
ifneq (,$(findstring msvc,$(platform)))
|
||||
CFLAGS += -fomit-frame-pointer -fstrict-aliasing
|
||||
endif
|
||||
|
||||
# extra options needed *only* for the osd files
|
||||
|
@ -9,7 +9,7 @@ COREDEFINES := -DINLINE="static _inline"
|
||||
else
|
||||
COREDEFINES := -DINLINE="static __inline__"
|
||||
endif
|
||||
COREDEFINES += -D__LIBRETRO__ -DPI=3.1415927
|
||||
COREDEFINES += -D__LIBRETRO__ -DPI=3.1415927 -DM_PI=3.1415927
|
||||
|
||||
SOURCES_C := $(CORE_DIR)/libretro/libretro.c \
|
||||
$(CORE_DIR)/libretro/osd.c \
|
||||
|
Loading…
Reference in New Issue
Block a user