summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2020-08-13 15:15:26 -0700
committerMarge Bot <eric+marge@anholt.net>2020-08-31 17:50:30 +0000
commit221aa00eeb33938dab06b26c8a770ecae3698825 (patch)
treed5cf6676b49566fb79ed4a51649165e4e8c3893a
parent2d1c60700528e17ca5693ff3943d7662577b3d26 (diff)
turnip: Make sure we include the build id.
The ir3 disk cache is initialized when we use the ir3 compiler, even if we don't use it ourselves, and it requires a build id. With lld, it seems we don't end up getting one included by default. Fixes: f97acb4bb4b1 ("freedreno/ir3: disk-cache support") Reviewed-by: Rob Clark <robdclark@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6324>
-rw-r--r--src/freedreno/vulkan/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/freedreno/vulkan/meson.build b/src/freedreno/vulkan/meson.build
index 9c258170615..9b202f8563f 100644
--- a/src/freedreno/vulkan/meson.build
+++ b/src/freedreno/vulkan/meson.build
@@ -132,7 +132,7 @@ libvulkan_freedreno = shared_library(
],
c_args : [no_override_init_args, tu_flags],
gnu_symbol_visibility : 'hidden',
- link_args : [ld_args_bsymbolic, ld_args_gc_sections],
+ link_args : [ld_args_bsymbolic, ld_args_gc_sections, ld_args_build_id],
install : true,
)