From 88c443c3517ab5976b7da60f727df27d9d31cd2f Mon Sep 17 00:00:00 2001 From: m45t3r <48780351+m45t3r@users.noreply.github.com> Date: Sat, 24 Oct 2020 03:43:54 -0300 Subject: [PATCH] Disable unroll loops --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 5ba52da..ac8280d 100644 --- a/Makefile +++ b/Makefile @@ -20,13 +20,13 @@ INCLUDE = -I pocketsnes \ CFLAGS = $(INCLUDE) -DRC_OPTIMIZED -DGCW_ZERO -DGCW_JOYSTICK -D__LINUX__ -D__DINGUX__ -DFOREVER_16_BIT -DFOREVER_16_BIT_SOUND -DLAGFIX # CFLAGS += -ggdb3 -Og CFLAGS += -Ofast -fdata-sections -ffunction-sections -mips32r2 -mno-mips16 -mplt -mno-shared -CFLAGS += -fomit-frame-pointer -fno-builtin -fno-common -flto=4 +CFLAGS += -fomit-frame-pointer -fno-builtin -fno-common -flto=4 -fno-unroll-loops CFLAGS += -DFAST_ALIGNED_LSB_WORD_ACCESS CFLAGS += $(SDL_CFLAGS) ifdef PROFILE_GEN CFLAGS += -fprofile-generate -fprofile-dir=/media/data/local/home/profile/pocketsnes else ifdef PROFILE_USE -CFLAGS += -fprofile-use -fprofile-dir=./profile +CFLAGS += -fprofile-use -fprofile-dir=./profile -Wno-error=coverage-mismatch endif CXXFLAGS = $(CFLAGS) -std=gnu++03 -fno-exceptions -fno-rtti -fno-math-errno -fno-threadsafe-statics