[Mesa-dev] [PATCH mesa] meson: skip asm check when asm is disabled
Dylan Baker
dylan at pnwbakers.com
Thu Nov 29 22:12:03 UTC 2018
Quoting Eric Engestrom (2018-11-29 03:50:48)
> Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
> ---
> meson.build | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meson.build b/meson.build
> index 4ee40503d044a0985c89..2d300d0421980cba7866 100644
> --- a/meson.build
> +++ b/meson.build
> @@ -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.')
> --
> Cheers,
> Eric
>
Reviewed-by: Dylan Baker <dylan at pnwbakers.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: signature
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20181129/adf2f83d/attachment.sig>
More information about the mesa-dev
mailing list