diff --git a/lib/rte_vhost/Makefile b/lib/rte_vhost/Makefile index ca7abb3a6..5a42ed390 100644 --- a/lib/rte_vhost/Makefile +++ b/lib/rte_vhost/Makefile @@ -37,6 +37,7 @@ include $(SPDK_ROOT_DIR)/mk/spdk.common.mk CFLAGS += -I. CFLAGS += $(ENV_CFLAGS) CFLAGS += -include rte_config.h +CFLAGS += -Wno-address-of-packed-member # These are the DPDK vhost files copied (for now) into SPDK C_SRCS += fd_man.c socket.c vhost_user.c vhost.c