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
net/bonding: use ethdev API to get socket
[dpdk.git]
/
examples
/
vhost_xen
/
Makefile
diff --git
a/examples/vhost_xen/Makefile
b/examples/vhost_xen/Makefile
index
e6fa1a1
..
ad2466a
100644
(file)
--- a/
examples/vhost_xen/Makefile
+++ b/
examples/vhost_xen/Makefile
@@
-33,7
+33,7
@@
ifeq ($(RTE_SDK),)
$(error "Please define RTE_SDK environment variable")
endif
$(error "Please define RTE_SDK environment variable")
endif
-# Default target, can be overriden by command line or environment
+# Default target, can be overrid
d
en by command line or environment
RTE_TARGET ?= x86_64-native-linuxapp-gcc
include $(RTE_SDK)/mk/rte.vars.mk
RTE_TARGET ?= x86_64-native-linuxapp-gcc
include $(RTE_SDK)/mk/rte.vars.mk
@@
-46,6
+46,7
@@
SRCS-y := main.c vhost_monitor.c xenstore_parse.c
CFLAGS += -O2 -I/usr/local/include -D_FILE_OFFSET_BITS=64 -Wno-unused-parameter
CFLAGS += $(WERROR_FLAGS)
CFLAGS += -O2 -I/usr/local/include -D_FILE_OFFSET_BITS=64 -Wno-unused-parameter
CFLAGS += $(WERROR_FLAGS)
+CFLAGS += -D_GNU_SOURCE
LDFLAGS += -lxenstore
include $(RTE_SDK)/mk/rte.extapp.mk
LDFLAGS += -lxenstore
include $(RTE_SDK)/mk/rte.extapp.mk