diff options
Diffstat (limited to 'patches/fceumm')
-rw-r--r-- | patches/fceumm/1000-trimui-build.patch | 23 |
1 files changed, 10 insertions, 13 deletions
diff --git a/patches/fceumm/1000-trimui-build.patch b/patches/fceumm/1000-trimui-build.patch index 4d52559..63dc9ad 100644 --- a/patches/fceumm/1000-trimui-build.patch +++ b/patches/fceumm/1000-trimui-build.patch @@ -1,9 +1,9 @@ diff --git a/Makefile.libretro b/Makefile.libretro -index 2f2bb5a..493149f 100644 +index 036c608..4c1cc87 100644 --- a/Makefile.libretro +++ b/Makefile.libretro -@@ -445,6 +445,22 @@ else ifeq ($(platform), retrofw) - PLATFORM_DEFINES += -ffast-math -march=mips32 -mtune=mips32 -mhard-float -fomit-frame-pointer +@@ -461,6 +461,22 @@ else ifeq ($(platform), miyoo) + PLATFORM_DEFINES += -fomit-frame-pointer -ffast-math -mcpu=arm926ej-s EXTERNAL_ZLIB = 1 +# TRIMUI @@ -25,27 +25,24 @@ index 2f2bb5a..493149f 100644 # Windows MSVC 2017 all architectures else ifneq (,$(findstring windows_msvc2017,$(platform))) CC = cl.exe -@@ -708,10 +724,23 @@ else +@@ -715,8 +731,20 @@ else CFLAGS += -MT CXXFLAGS += -MT endif + ifneq (,$(OPTIMIZE)) -+ CFLAGS += $(OPTIMIZE) -+ CXXFLAGS += $(OPTIMIZE) ++ CFLAGS += $(OPTIMIZE) ++ CXXFLAGS += $(OPTIMIZE) + else CFLAGS += -O2 -DNDEBUG CXXFLAGS += -O2 -DNDEBUG + endif - endif - ++endif ++ +ifeq ($(PROFILE), GENERATE) + CFLAGS += -fprofile-generate=./profile/fceumm + LDFLAGS += -lgcov +else ifeq ($(PROFILE), APPLY) + CFLAGS += -fprofile-use -fprofile-dir=../profile/fceumm -fbranch-probabilities -+endif -+ -+ + endif + ifneq ($(SANITIZER),) - CFLAGS += -fsanitize=$(SANITIZER) - CXXFLAGS += -fsanitize=$(SANITIZER) |