aboutsummaryrefslogtreecommitdiff
path: root/patches/bluemsx
diff options
context:
space:
mode:
Diffstat (limited to 'patches/bluemsx')
-rw-r--r--patches/bluemsx/1000-trimui-build.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/patches/bluemsx/1000-trimui-build.patch b/patches/bluemsx/1000-trimui-build.patch
index d4026df..b140866 100644
--- a/patches/bluemsx/1000-trimui-build.patch
+++ b/patches/bluemsx/1000-trimui-build.patch
@@ -1,5 +1,5 @@
diff --git a/Makefile.libretro b/Makefile.libretro
-index 0e8b073..040e734 100644
+index 0e8b073..aec4ea2 100644
--- a/Makefile.libretro
+++ b/Makefile.libretro
@@ -428,6 +428,20 @@ else ifneq (,$(findstring armv,$(platform)))
@@ -38,10 +38,10 @@ index 0e8b073..040e734 100644
endif
+ifeq ($(PROFILE), GENERATE)
-+ CFLAGS += -fprofile-generate=./profile/fceumm
++ CFLAGS += -fprofile-generate=./profile/$(TARGET_NAME)
+ LDFLAGS += -lgcov
+else ifeq ($(PROFILE), APPLY)
-+ CFLAGS += -fprofile-use -fprofile-dir=../profile/fceumm -fbranch-probabilities
++ CFLAGS += -fprofile-use -fprofile-dir=../profile/$(TARGET_NAME) -fbranch-probabilities
+endif
+
include Makefile.common