X-Git-Url: http://git.droids-corp.org/?p=dpdk.git;a=blobdiff_plain;f=examples%2Fmeson.build;h=af81c762e8532d0383958d3dce020bd3ad07bfb9;hp=4ee7a111412bdefb2bd27fdf4a35e34cd2e7cea8;hb=5d7b673d5fd6663b20c675dd382d9fb43b42af18;hpb=739e13bcc98f562d3301f808ec76507ebae82e63 diff --git a/examples/meson.build b/examples/meson.build index 4ee7a11141..af81c762e8 100644 --- a/examples/meson.build +++ b/examples/meson.build @@ -22,6 +22,10 @@ default_cflags = machine_args if cc.has_argument('-Wno-format-truncation') default_cflags += '-Wno-format-truncation' endif + +# specify -D_GNU_SOURCE unconditionally +default_cflags += '-D_GNU_SOURCE' + foreach example: examples name = example build = true