mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-20 17:30:24 +01:00
panvk: Link with --build-id explicitly
panvk provides driver UUID generated from build id of the dynamic
library, but ld_args_build_id isn't used during linking. This leads to
broken drivers when building mesa with a toolchain defaults to
--no-build-id. Let's specify the flag explicitly.
Fixes: 8ea2931ed1 ("panvk: Generate proper device and driver UUIDs")
Signed-off-by: Yao Zi <ziyao@disroot.org>
Reviewed-by: Mary Guillemard <mary.guillemard@collabora.com>
Acked-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31654>
This commit is contained in:
parent
d227968201
commit
5ffc5ba8ef
1 changed files with 1 additions and 1 deletions
|
|
@ -172,7 +172,7 @@ libvulkan_panfrost = shared_library(
|
|||
idep_mesautil,
|
||||
],
|
||||
c_args : [no_override_init_args, panvk_flags],
|
||||
link_args : [ld_args_bsymbolic, ld_args_gc_sections],
|
||||
link_args : [ld_args_bsymbolic, ld_args_gc_sections, ld_args_build_id],
|
||||
install : true,
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue