Skip to contentSkip to conversation

vhost: add missing cflags in meson build

PATCH In review Tiwei Bie 2 participants 2 messages Sep 14, 2018 Arm/Amlogic Meson SoC support

lore
Share & tools
lore

Tiwei Bie

author
#0 lore raw

PATCH 1/1 vhost: add missing cflags in meson build

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

---
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(+)
lib/librte_vhost/meson.build +1 -0
index bd62e0e39..9d25b4d88 100644
@@ -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')
Signature · 1 line
2.18.0