diff options
author | Marc Dietrich <[email protected]> | 2018-01-24 22:03:51 +0100 |
---|---|---|
committer | Dylan Baker <[email protected]> | 2018-01-24 14:04:20 -0800 |
commit | a2a1b0e75ef9adeb17468509c5f6331b42f6dc2e (patch) | |
tree | df8a4f9c26a418c334267277efb1628cdf112c80 | |
parent | 5781c3d1db4a01e77f416c1685025c4d830ae87d (diff) |
meson: fix HAVE_LLVM version define in meson build
LLVM patch level is not included in HAVE_LLVM.
Fixes: e6418ab1566d ("meson: build "radv" vulkan driver for radeon hardware")
Reviewed-by: Eric Engestrom <[email protected]>
Reviewed-by: Dylan Baker <[email protected]>
Signed-off-by: Marc Dietrich <[email protected]>
-rw-r--r-- | meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build index eb85a4a5938..222b79d75cc 100644 --- a/meson.build +++ b/meson.build @@ -1025,7 +1025,7 @@ if with_llvm _llvm_patch = _llvm_patch.split('s')[0] endif pre_args += [ - '-DHAVE_LLVM=0x0@0@@1@@2@'.format(_llvm_version[0], _llvm_version[1], _llvm_patch), + '-DHAVE_LLVM=0x0@0@0@1@'.format(_llvm_version[0], _llvm_version[1]), '-DMESA_LLVM_VERSION_PATCH=@0@'.format(_llvm_patch), ] elif with_amd_vk or with_gallium_radeonsi or with_gallium_swr |