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: f97acb4bb4 ("freedreno/ir3: disk-cache support")
Reviewed-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6324>
This commit is contained in:
Eric Anholt 2020-08-13 15:15:26 -07:00 committed by Marge Bot
parent 2d1c607005
commit 221aa00eeb
1 changed files with 1 additions and 1 deletions

View File

@ -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,
)