]> git.droids-corp.org - dpdk.git/blobdiff - examples/vhost_crypto/meson.build
build: use default flags for default Arm machine
[dpdk.git] / examples / vhost_crypto / meson.build
index 0f4876f06bb140dd94034c776d3c0418fb582d20..8e9860f03862a482b1deecac1f3dc7f0a3f6b86b 100644 (file)
@@ -6,9 +6,10 @@
 # To build this example as a standalone application with an already-installed
 # DPDK instance, use 'make'
 
 # To build this example as a standalone application with an already-installed
 # DPDK instance, use 'make'
 
+build = dpdk_conf.has('RTE_LIBRTE_VHOST')
 allow_experimental_apis = true
 deps += ['vhost', 'cryptodev']
 allow_experimental_apis = true
 deps += ['vhost', 'cryptodev']
-cflags += ['-D_GNU_SOURCE','-D_FILE_OFFSET_BITS=64']
+cflags += ['-D_FILE_OFFSET_BITS=64']
 sources = files(
        'main.c'
 )
 sources = files(
        'main.c'
 )