diff options
Diffstat (limited to 'main/glib/mips-disable-objcopy-tests.patch')
-rw-r--r-- | main/glib/mips-disable-objcopy-tests.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/main/glib/mips-disable-objcopy-tests.patch b/main/glib/mips-disable-objcopy-tests.patch new file mode 100644 index 0000000000..8947996ea5 --- /dev/null +++ b/main/glib/mips-disable-objcopy-tests.patch @@ -0,0 +1,11 @@ +--- glib-2.62.3.orig/gio/tests/meson.build ++++ glib-2.62.3/gio/tests/meson.build +@@ -579,7 +579,7 @@ + # LLVM once that support is in a stable release. + objcopy = find_program('objcopy', required : false) + +- if build_machine.system() == 'linux' and cc.get_id() == 'gcc' and objcopy.found() ++ if build_machine.system() == 'linux' and cc.get_id() == 'gcc' and objcopy.found() and not build_machine.cpu_family().startswith('mips') + test_gresource_binary = custom_target('test5.gresource', + input : 'test5.gresource.xml', + output : 'test5.gresource', |