From 221aa00eeb33938dab06b26c8a770ecae3698825 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 13 Aug 2020 15:15:26 -0700 Subject: [PATCH] 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 Part-of: --- src/freedreno/vulkan/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, ) -- 2.30.2