mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 17:23:56 -06:00
configure, meson: move membarrier test to meson
The test is a bit different from the others, in that it does not run if $membarrier is empty. For meson, the default can simply be disabled; if one day we will toggle the default, no change is needed in meson.build. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
622753d2fb
commit
b87df9043c
5 changed files with 33 additions and 42 deletions
|
@ -35,7 +35,9 @@ util_ss.add(files('crc32c.c'))
|
|||
util_ss.add(files('uuid.c'))
|
||||
util_ss.add(files('getauxval.c'))
|
||||
util_ss.add(files('rcu.c'))
|
||||
util_ss.add(when: 'CONFIG_MEMBARRIER', if_true: files('sys_membarrier.c'))
|
||||
if have_membarrier
|
||||
util_ss.add(files('sys_membarrier.c'))
|
||||
endif
|
||||
util_ss.add(files('log.c'))
|
||||
util_ss.add(files('pagesize.c'))
|
||||
util_ss.add(files('qdist.c'))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue