meson: Link Gallium drivers with ld_args_build_id

Link all Gallium drivers with ld_args_build_id to prevent failures in
Iris that uses GNU_BUILD_ID

Bugs: https://bugs.freedesktop.org/show_bug.cgi?id=110757
Fixes: 4756864cdc "iris: Start wiring up on-disk shader cache"

Signed-off-by: Mike Lothian <mike@fireburn.co.uk>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
Mike Lothian 2019-05-28 12:26:21 +01:00 committed by Kenneth Graunke
parent 366811bedb
commit 29ea92e6a1

View File

@ -46,7 +46,7 @@ libgallium_dri = shared_library(
],
c_args : [c_vis_args],
cpp_args : [cpp_vis_args],
link_args : [ld_args_gc_sections, gallium_dri_ld_args],
link_args : [ld_args_build_id, ld_args_gc_sections, gallium_dri_ld_args],
link_depends : gallium_dri_link_depends,
link_with : [
libmesa_gallium, libdricommon, libmegadriver_stub, libdri, libgalliumvl,