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
mk: build with _GNU_SOURCE defined by default
[dpdk.git]
/
examples
/
vhost
/
Makefile
diff --git
a/examples/vhost/Makefile
b/examples/vhost/Makefile
index
67cc55b
..
c696438
100644
(file)
--- a/
examples/vhost/Makefile
+++ b/
examples/vhost/Makefile
@@
-52,7
+52,7
@@
RTE_TARGET ?= x86_64-native-linuxapp-gcc
include $(RTE_SDK)/mk/rte.vars.mk
include $(RTE_SDK)/mk/rte.vars.mk
-ifneq ($(CONFIG_RTE_EXEC_ENV
),"linuxapp"
)
+ifneq ($(CONFIG_RTE_EXEC_ENV
_LINUXAPP),y
)
$(info This application can only operate in a linuxapp environment, \
please change the definition of the RTE_TARGET environment variable)
all:
$(info This application can only operate in a linuxapp environment, \
please change the definition of the RTE_TARGET environment variable)
all:
@@
-61,7
+61,6
@@
else
CFLAGS += -DALLOW_EXPERIMENTAL_API
CFLAGS += -O2 -D_FILE_OFFSET_BITS=64
CFLAGS += $(WERROR_FLAGS)
CFLAGS += -DALLOW_EXPERIMENTAL_API
CFLAGS += -O2 -D_FILE_OFFSET_BITS=64
CFLAGS += $(WERROR_FLAGS)
-CFLAGS += -D_GNU_SOURCE
include $(RTE_SDK)/mk/rte.extapp.mk
include $(RTE_SDK)/mk/rte.extapp.mk