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_scsi
/
Makefile
diff --git
a/examples/vhost_scsi/Makefile
b/examples/vhost_scsi/Makefile
index
fa0cf72
..
523aee0
100644
(file)
--- a/
examples/vhost_scsi/Makefile
+++ b/
examples/vhost_scsi/Makefile
@@
-18,7
+18,7
@@
shared: build/$(APP)-shared
static: build/$(APP)-static
ln -sf $(APP)-static build/$(APP)
static: build/$(APP)-static
ln -sf $(APP)-static build/$(APP)
-CFLAGS += -D_
GNU_SOURCE -D_
FILE_OFFSET_BITS=64
+CFLAGS += -D_FILE_OFFSET_BITS=64
LDFLAGS += -pthread
PC_FILE := $(shell pkg-config --path libdpdk)
LDFLAGS += -pthread
PC_FILE := $(shell pkg-config --path libdpdk)
@@
-57,7
+57,7
@@
please change the definition of the RTE_TARGET environment variable)
all:
else
all:
else
-CFLAGS += -D_
GNU_SOURCE -D_
FILE_OFFSET_BITS=64
+CFLAGS += -D_FILE_OFFSET_BITS=64
CFLAGS += -O2
CFLAGS += $(WERROR_FLAGS)
CFLAGS += -O2
CFLAGS += $(WERROR_FLAGS)