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