mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 06:48:06 +02:00
util/meson: don't build libmesa_util_clflushopt unless needed
Fixes:555881e574("util/cache_ops: Add some cache flush helpers") (cherry picked from commitccf33664e8) Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38268>
This commit is contained in:
parent
f69d1abfcf
commit
46f0422165
2 changed files with 2 additions and 1 deletions
|
|
@ -224,7 +224,7 @@
|
|||
"description": "util/meson: don't build libmesa_util_clflushopt unless needed",
|
||||
"nominated": true,
|
||||
"nomination_type": 2,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "555881e57499bc38f098dd5859edecdf6bdad2a2",
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -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