mk: compilation fixes
[dpdk.git] / examples / load_balancer / Makefile
index d4c7307..4fe0625 100644 (file)
@@ -46,6 +46,7 @@ SRCS-y := main.c config.c init.c runtime.c
 
 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