mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-23 18:52:09 +01:00
GIO/tests: skip test_resources_binary on MIPS platform
There are some flavors of MIPS ABIs, such like r6 vs legacy, nan2008 vs nan1985 etc. The `cc -r` may not produce the correct elf binaries. So let's skip this test for MIPS.
This commit is contained in:
parent
046f70cc0d
commit
8105916998
@ -905,7 +905,8 @@ if not meson.is_cross_build()
|
|||||||
|
|
||||||
ld = find_program('ld', required : false)
|
ld = find_program('ld', required : false)
|
||||||
|
|
||||||
if build_machine.system() == 'linux' and objcopy.found() and objcopy_supports_add_symbol and ld.found()
|
if build_machine.system() == 'linux' and objcopy.found() and objcopy_supports_add_symbol and ld.found() and \
|
||||||
|
build_machine.cpu_family() != 'mips' and build_machine.cpu_family() != 'mips64'
|
||||||
test_gresource_binary = custom_target('test5.gresource',
|
test_gresource_binary = custom_target('test5.gresource',
|
||||||
input : 'test5.gresource.xml',
|
input : 'test5.gresource.xml',
|
||||||
output : 'test5.gresource',
|
output : 'test5.gresource',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user