asahi: Make asahi_clc build work on x86_64->x86 builds

Same hack used by intel_clc.

Signed-off-by: Asahi Lina <lina@asahilina.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29861>
This commit is contained in:
Asahi Lina
2024-06-12 18:28:03 +09:00
committed by Alyssa Rosenzweig
parent 27e3495902
commit 51f2ed872e
+4 -1
View File
@@ -9,5 +9,8 @@ prog_asahi_clc = executable(
c_args : [pre_args, no_override_init_args],
link_args : [ld_args_build_id],
dependencies : [idep_mesaclc, dep_llvm, dep_spirv_tools, idep_nir],
native : true,
# If we can run host binaries directly, just build asahi_clc for the host.
# Most commonly this happens when doing a cross compile from an x86_64 build
# machine to an x86 host
native : not meson.can_run_host_binaries(),
)