Commit a0b14c1b authored by Eric Engestrom's avatar Eric Engestrom

meson: skip asm check when asm is disabled

Signed-off-by: Eric Engestrom's avatarEric Engestrom <>
Reviewed-by: Dylan Baker's avatarDylan Baker <>
parent 6ae873b9
......@@ -917,7 +917,7 @@ endif
# case of cross compiling where we can use asm, and that's x86_64 -> x86 when
# host OS == build OS, since in that case the build machine can run the host's
# binaries.
if meson.is_cross_build()
if with_asm and meson.is_cross_build()
if build_machine.system() != host_machine.system()
# TODO: It may be possible to do this with an exe_wrapper (like wine).
message('Cross compiling from one OS to another, disabling assembly.')
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment