Use the host arch, not the target arch. In Meson and in recent
Autotools, the host arch is where the binary will be used. The target
arch is useful only when compiling a compiler.
See: http://mesonbuild.com/Cross-compilation.html
See: https://www.gnu.org/software/automake/manual/html_node/Cross_002dCompilation.html
Reported-by: Eric Engestrom <eric.engestrom@imgtec.com>
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
configure_file(
configuration : radv_data,
input : 'radeon_icd.json.in',
- output : 'radeon_icd.@0@.json'.format(target_machine.cpu()),
+ output : 'radeon_icd.@0@.json'.format(host_machine.cpu()),
install_dir : with_vulkan_icd_dir,
)
configure_file(