[dpdk-dev] [PATCH] vhost: add missing cflags in meson build

Tiwei Bie tiwei.bie at intel.com
Fri Sep 14 16:51:41 CEST 2018


Fixes: 6ee380ffb5e7 ("vhost: fix vhost interrupt support")

Signed-off-by: Tiwei Bie <tiwei.bie at intel.com>
---
Hi Ferruh,

The hash in above fixes line isn't really right, because that
patch hasn't been committed to the main repo yet. Please squash
this patch to that one if possible.

Thanks!

 lib/librte_vhost/meson.build | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/librte_vhost/meson.build b/lib/librte_vhost/meson.build
index bd62e0e39..9d25b4d88 100644
--- a/lib/librte_vhost/meson.build
+++ b/lib/librte_vhost/meson.build
@@ -9,6 +9,7 @@ if has_libnuma == 1
 endif
 version = 4
 allow_experimental_apis = true
+cflags += '-fno-strict-aliasing'
 sources = files('fd_man.c', 'iotlb.c', 'socket.c', 'vdpa.c',
 		'vhost.c', 'vhost_user.c',
 		'virtio_net.c', 'vhost_crypto.c')
-- 
2.18.0



More information about the dev mailing list