X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=test%2Ftest%2Fmeson.build;h=7c6e3b00b44dcd300422150b8eba463088cad44b;hb=039cfce658ed9e8752f44c11310130b290bd04eb;hp=92104cd2049958cb732e67455c2275c8db1657ee;hpb=2cbe227c02154cccd8f84d06c9b99d9d167210b8;p=dpdk.git diff --git a/test/test/meson.build b/test/test/meson.build index 92104cd204..7c6e3b00b4 100644 --- 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()