X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=examples%2Fmeson.build;h=af81c762e8532d0383958d3dce020bd3ad07bfb9;hb=5d7b673d5fd6663b20c675dd382d9fb43b42af18;hp=4ee7a111412bdefb2bd27fdf4a35e34cd2e7cea8;hpb=3e3eeb4d5ff754c3425fc38a4cbd2f6be872f1d9;p=dpdk.git 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