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>
(cherry picked from commit 221aa00eeb)
This commit is contained in:
Eric Anholt 2020-08-13 15:15:26 -07:00 committed by Dylan Baker
parent 7518930a99
commit 83dda7b35f
2 changed files with 2 additions and 2 deletions

View file

@ -679,7 +679,7 @@
"description": "turnip: Make sure we include the build id.",
"nominated": true,
"nomination_type": 1,
"resolution": 0,
"resolution": 1,
"master_sha": null,
"because_sha": "f97acb4bb4b18f127b62aa8eeb57cdf3d8fe3aa2"
},

View file

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