aboutsummaryrefslogtreecommitdiffstats
path: root/main/glib/mips-disable-some-gio-test-resources.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/glib/mips-disable-some-gio-test-resources.patch')
-rw-r--r--main/glib/mips-disable-some-gio-test-resources.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/main/glib/mips-disable-some-gio-test-resources.patch b/main/glib/mips-disable-some-gio-test-resources.patch
new file mode 100644
index 0000000000..6327812bf0
--- /dev/null
+++ b/main/glib/mips-disable-some-gio-test-resources.patch
@@ -0,0 +1,11 @@
+--- glib-2.64.1.orig/gio/tests/meson.build
++++ glib-2.64.1/gio/tests/meson.build
+@@ -668,7 +668,7 @@
+
+ ld = find_program('ld', required : false)
+
+- if build_machine.system() == 'linux' and cc.get_id() == 'gcc' and objcopy.found() and objcopy_supports_add_symbol and ld.found()
++ if build_machine.system() == 'linux' and cc.get_id() == 'gcc' and objcopy.found() and objcopy_supports_add_symbol and ld.found() and host_machine.cpu_family() != 'mips64'
+ test_gresource_binary = custom_target('test5.gresource',
+ input : 'test5.gresource.xml',
+ output : 'test5.gresource',