git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
version: 17.05-rc1
[dpdk.git]
/
examples
/
vhost
/
Makefile
diff --git
a/examples/vhost/Makefile
b/examples/vhost/Makefile
index
c269466
..
af7be99
100644
(file)
--- a/
examples/vhost/Makefile
+++ b/
examples/vhost/Makefile
@@
-48,10
+48,11
@@
else
APP = vhost-switch
# all source are stored in SRCS-y
-SRCS-y := main.c
+SRCS-y := main.c
virtio_net.c
CFLAGS += -O2 -D_FILE_OFFSET_BITS=64
CFLAGS += $(WERROR_FLAGS)
+CFLAGS += -D_GNU_SOURCE
include $(RTE_SDK)/mk/rte.extapp.mk