From d6b1836919ad2c70c15c1386b6595bacbb252ca6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Francisco=20Jos=C3=A9=20Garc=C3=ADa=20Garc=C3=ADa?= Date: Sat, 22 May 2021 17:27:46 +0200 Subject: [PATCH] Vita: arrange compile flags --- Makefile.vita | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Makefile.vita b/Makefile.vita index 852e882da0..5fcf976abf 100644 --- a/Makefile.vita +++ b/Makefile.vita @@ -113,16 +113,18 @@ LD := $(CXX) LIBDIRS := -L. ARCHFLAGS := -march=armv7-a -mfpu=neon -mfloat-abi=hard -DVITA -DSCE_LIBC_SIZE=$(SCE_LIBC_SIZE) -CFLAGS += $(ARCHFLAGS) -mword-relocations -fno-optimize-sibling-calls -O2 +CFLAGS += $(ARCHFLAGS) -mword-relocations -fno-optimize-sibling-calls ifeq ($(DEBUG), 1) - CFLAGS += -g + CFLAGS += -g -Og +else + CFLAGS += -O2 endif ASFLAGS := $(CFLAGS) LDFLAGS := -Wl,-q -CFLAGS += -Wall -ffast-math -g +CFLAGS += -Wall -ffast-math CFLAGS += -DRARCH_INTERNAL -DHAVE_SCREENSHOTS -DRARCH_CONSOLE CFLAGS += -DHAVE_DSP_FILTER CFLAGS += -DHAVE_VIDEO_FILTER