Missing _GNU_SOURCE define for compilation of a number of files.
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS)
+CFLAGS_parse_obj_list.o := -D_GNU_SOURCE
include $(RTE_SDK)/mk/rte.extapp.mk
CFLAGS += -O3 -g
CFLAGS += $(WERROR_FLAGS)
+CFLAGS_config.o := -D_GNU_SOURCE
# workaround for a gcc bug with noreturn attribute
# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12603
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS)
+CFLAGS_args.o := -D_GNU_SOURCE
+CFLAGS_cfg_file.o := -D_GNU_SOURCE
LDLIBS += -lrte_sched
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS)
+CFLAGS_rte_red.o := -D_GNU_SOURCE
+
#
# all source are stored in SRCS-y
#