meson: Link Gallium drivers with ld_args_build_id
authorMike Lothian <mike@fireburn.co.uk>
Tue, 28 May 2019 11:26:21 +0000 (12:26 +0100)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 28 May 2019 20:37:36 +0000 (13:37 -0700)
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 <mike@fireburn.co.uk>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/gallium/targets/dri/meson.build

index 45daf647960bec6bcb9dfa91389ffbb374b74147..28c9fb9372c983124cb8a2c7fed1455d5b95a820 100644 (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,