build-sys: meson: Add atomic ops related checks

This commit is contained in:
Arun Raghavan 2019-08-15 13:07:54 +05:30
parent 25308fe88f
commit 1e996445f7
7 changed files with 61 additions and 8 deletions

View file

@ -27,6 +27,12 @@ option('legacy-database-entry-format',
option('running-from-build-tree',
type : 'boolean',
description : 'Enable running from build tree')
option('atomic-arm-linux-helpers',
type : 'boolean', value : true,
description : 'Use inline asm or libatomic_ops instead')
option('atomic-arm-memory-barrier',
type : 'boolean', value : false,
description : 'Enable memory barriers (only really needed in SMP arm systems)')
# Paths