From: Mike Lothian Date: Tue, 28 May 2019 11:26:21 +0000 (+0100) Subject: meson: Link Gallium drivers with ld_args_build_id X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=29ea92e6a1e8f5cb3295011d907ea211d6f8f644;p=mesa.git 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: 4756864cdc5f "iris: Start wiring up on-disk shader cache" Signed-off-by: Mike Lothian Reviewed-by: Kenneth Graunke --- diff --git a/src/gallium/targets/dri/meson.build b/src/gallium/targets/dri/meson.build index 45daf647960..28c9fb9372c 100644 --- a/src/gallium/targets/dri/meson.build +++ b/src/gallium/targets/dri/meson.build @@ -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,