mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 13:48:06 +02:00
radv: Fix architecture in radeon_icd.{arch}.json
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>
This commit is contained in:
parent
2a4798ad98
commit
9ec33972cc
1 changed files with 1 additions and 1 deletions
|
|
@ -130,7 +130,7 @@ radv_data.set('libvulkan_radeon_path', libvulkan_radeon.full_path())
|
|||
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(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue