mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-23 02:32:11 +01:00
build: Simplify MIPS test check
Make the condition more readable, and easy to extend if necessary. Follow-up to: !3640
This commit is contained in:
parent
0a6e19feee
commit
ccc36a2fde
@ -905,8 +905,9 @@ 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() and \
|
if build_machine.system() == 'linux' and \
|
||||||
build_machine.cpu_family() != 'mips' and build_machine.cpu_family() != 'mips64'
|
objcopy.found() and objcopy_supports_add_symbol and ld.found() and \
|
||||||
|
build_machine.cpu_family() not in ['mips', '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