mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 17:20:10 +01:00
util/meson: don't build libmesa_util_clflush unless needed
Fixes: efbecd93ba ("util: Build util/cache_ops_x86.c with -msse2")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38146>
This commit is contained in:
parent
ccf33664e8
commit
0fe0acd4c3
1 changed files with 1 additions and 0 deletions
|
|
@ -194,6 +194,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, sse2_args],
|
||||
gnu_symbol_visibility : 'hidden',
|
||||
build_by_default : false,
|
||||
)
|
||||
libmesa_util_links += [libmesa_util_clflush]
|
||||
if with_clflushopt
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue