mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
rusticl: add ld_args_gc_sections
This drops release file size from 33MB to 31MB on my system. Signed-off-by: Karol Herbst <git@karolherbst.de> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23778>
This commit is contained in:
parent
ff29016753
commit
72fe01a6be
1 changed files with 4 additions and 1 deletions
|
|
@ -51,7 +51,10 @@ librusticl = shared_library(
|
|||
idep_nir,
|
||||
idep_vtn,
|
||||
],
|
||||
link_args: ld_args_build_id,
|
||||
link_args : [
|
||||
ld_args_build_id,
|
||||
ld_args_gc_sections,
|
||||
],
|
||||
version : '@0@.0.0'.format(opencl_version),
|
||||
install : true,
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue