summaryrefslogtreecommitdiff
path: root/examples/cmdline
diff options
context:
space:
mode:
authorBruce Richardson <bruce.richardson@intel.com>2014-02-11 12:10:16 +0000
committerDavid Marchand <david.marchand@6wind.com>2014-02-25 21:29:18 +0100
commite49680a87e0623d7c10bddde757042f784e4097d (patch)
tree1b253f120e169cf3315b3c8b978da306206e7f8e /examples/cmdline
parentdf240422339913bf9792be55b6d48584f4c0a7c7 (diff)
downloaddpdk-e49680a87e0623d7c10bddde757042f784e4097d.zip
dpdk-e49680a87e0623d7c10bddde757042f784e4097d.tar.gz
dpdk-e49680a87e0623d7c10bddde757042f784e4097d.tar.xz
mk: compilation fixes
Missing _GNU_SOURCE define for compilation of a number of files. Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Diffstat (limited to 'examples/cmdline')
-rw-r--r--examples/cmdline/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/cmdline/Makefile b/examples/cmdline/Makefile
index 5d203d0..8412131 100644
--- a/examples/cmdline/Makefile
+++ b/examples/cmdline/Makefile
@@ -46,5 +46,6 @@ SRCS-y := main.c commands.c parse_obj_list.c
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS)
+CFLAGS_parse_obj_list.o := -D_GNU_SOURCE
include $(RTE_SDK)/mk/rte.extapp.mk