aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChad Versace <[email protected]>2017-11-09 15:02:13 -0800
committerChad Versace <[email protected]>2017-11-09 16:29:31 -0800
commitb7441ef25288c669adcbe8708a458ceea13b8ff9 (patch)
tree0faeb9f3b1fa400f2b7eee88c0dd1f2fce9cc2d6 /src
parent9ec33972cc15e67b89f94e388f43c5186e4592f0 (diff)
anv: Fix architecture in intel_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 <[email protected]> Reviewed-by: Dylan Baker <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/intel/vulkan/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/vulkan/meson.build b/src/intel/vulkan/meson.build
index ff24e304ef5..debdcce4ef2 100644
--- a/src/intel/vulkan/meson.build
+++ b/src/intel/vulkan/meson.build
@@ -38,7 +38,7 @@ anv_extensions_c = custom_target(
intel_icd = custom_target(
'intel_icd',
input : 'anv_icd.py',
- output : 'intel_icd.@[email protected]'.format(target_machine.cpu()),
+ output : 'intel_icd.@[email protected]'.format(host_machine.cpu()),
command : [prog_python2, '@INPUT@',
'--lib-path', join_paths(get_option('prefix'), get_option('libdir')),
'--out', '@OUTPUT@'],