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]
/
test
/
test
/
meson.build
diff --git
a/test/test/meson.build
b/test/test/meson.build
index
92104cd
..
7c6e3b0
100644
(file)
--- a/
test/test/meson.build
+++ b/
test/test/meson.build
@@
-253,6
+253,9
@@
if cc.has_argument('-Wno-format-truncation')
cflags += '-Wno-format-truncation'
endif
+# specify -D_GNU_SOURCE unconditionally
+default_cflags += '-D_GNU_SOURCE'
+
test_dep_objs = []
compress_test_dep = dependency('zlib', required: false)
if compress_test_dep.found()