summaryrefslogtreecommitdiff
path: root/emulators/ares/files/patch-desktop-ui_GNUmakefile
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/ares/files/patch-desktop-ui_GNUmakefile')
-rw-r--r--emulators/ares/files/patch-desktop-ui_GNUmakefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/emulators/ares/files/patch-desktop-ui_GNUmakefile b/emulators/ares/files/patch-desktop-ui_GNUmakefile
new file mode 100644
index 000000000000..99f77d976d74
--- /dev/null
+++ b/emulators/ares/files/patch-desktop-ui_GNUmakefile
@@ -0,0 +1,21 @@
+--- desktop-ui/GNUmakefile.orig 2024-08-09 17:39:54 UTC
++++ desktop-ui/GNUmakefile
+@@ -8,6 +8,8 @@ flags += -I. -I.. -I../ares -I../thirdparty -I../third
+ lto := true
+ librashader := true
+ flags += -I. -I.. -I../ares -I../thirdparty -I../thirdparty/librashader/include -DMIA_LIBRARY
++flags += $(CFLAGS)
++options += $(LDFLAGS)
+
+ nall.path := ../nall
+ include $(nall.path)/GNUmakefile
+@@ -16,9 +18,6 @@ ifneq ($(filter $(arch),x86 amd64),)
+ ifeq ($(filter cl,$(compiler)),)
+ ifeq ($(local),true)
+ flags += -march=native
+- else
+- # For official builds, default to x86-64-v2 (Intel Nehalem, AMD Bulldozer) which supports up to SSE 4.2.
+- flags += -march=x86-64-v2
+ endif
+ endif
+ endif