mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-03 02:50:16 +01:00
util/meson: don't build libmesa_util_clflushopt unless needed
Fixes: 555881e574 ("util/cache_ops: Add some cache flush helpers")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38146>
This commit is contained in:
parent
b2badb2b24
commit
ccf33664e8
1 changed files with 1 additions and 0 deletions
|
|
@ -203,6 +203,7 @@ elif host_machine.cpu_family() in ['x86', 'x86_64'] and cc.get_id() != 'msvc'
|
|||
include_directories : [inc_util],
|
||||
c_args : [no_override_init_args] + clflushopt_args,
|
||||
gnu_symbol_visibility : 'hidden',
|
||||
build_by_default : false,
|
||||
)
|
||||
libmesa_util_links += [libmesa_util_clflushopt]
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue