vhost: add missing cflags in meson build

Message ID 20180914145141.32044-1-tiwei.bie@intel.com (mailing list archive)
State Accepted, archived
Delegated to: Ferruh Yigit
Headers
Series vhost: add missing cflags in meson build |

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/Intel-compilation success Compilation OK

Commit Message

Tiwei Bie Sept. 14, 2018, 2:51 p.m. UTC
  Fixes: 6ee380ffb5e7 ("vhost: fix vhost interrupt support")

Signed-off-by: Tiwei Bie <tiwei.bie@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(+)
  

Comments

Ferruh Yigit Sept. 14, 2018, 5:13 p.m. UTC | #1
On 9/14/2018 3:51 PM, Tiwei Bie wrote:
> Fixes: 6ee380ffb5e7 ("vhost: fix vhost interrupt support")
> 
> Signed-off-by: Tiwei Bie <tiwei.bie@intel.com>

Squashed into relevant commit in next-net, thanks.
  

Patch

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')