From 3037393600cc5e63aafe487186025650a6a4d119 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Francisco=20Jos=C3=A9=20Garc=C3=ADa=20Garc=C3=ADa?= Date: Tue, 27 Sep 2016 00:59:08 +0200 Subject: [PATCH] (VITA) Enable O3 optimizations --- Makefile | 2 +- Makefile.libretro | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 7360770a..600a1d3a 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ ifeq ($(DEBUG), 1) CFLAGS += -O0 -ggdb else ifeq ($(platform), vita) -CFLAGS += -O1 -DNDEBUG +CFLAGS += -O3 -DNDEBUG else CFLAGS += -O2 -DNDEBUG endif diff --git a/Makefile.libretro b/Makefile.libretro index 1aae08e3..a0f0c07d 100644 --- a/Makefile.libretro +++ b/Makefile.libretro @@ -1,6 +1,6 @@ # Makefile for PCSX ReARMed (libretro) -DEBUG=0 +DEBUG=1 ifeq ($(platform),) platform = unix @@ -120,6 +120,7 @@ else ifeq ($(platform), vita) CFLAGS += -mcpu=cortex-a8 -mtune=cortex-a8 -mfpu=neon -marm CFLAGS += -fsingle-precision-constant -mword-relocations -fno-unwind-tables CFLAGS += -fno-asynchronous-unwind-tables -ftree-vectorize -funroll-loops + CFLAGS += -fno-optimize-sibling-calls CFLAGS += -I$(VITASDK)/include -Ifrontend/vita CFLAGS += -DNO_SOCKET -DNO_OS -DNO_DYLIB ASFLAGS += -mcpu=cortex-a8 -mtune=cortex-a8 -mfpu=neon -- 2.39.5