This commit is contained in:
twinaphex 2017-07-04 09:04:33 +02:00
parent 4fe02c8885
commit 4378e99eee
2 changed files with 6 additions and 2 deletions

View File

@ -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

View File

@ -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 \