aboutsummaryrefslogtreecommitdiffstats
path: root/examples/udpfwd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'examples/udpfwd/Makefile')
-rw-r--r--examples/udpfwd/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/udpfwd/Makefile b/examples/udpfwd/Makefile
index c23947a..5274d0f 100644
--- a/examples/udpfwd/Makefile
+++ b/examples/udpfwd/Makefile
@@ -40,5 +40,7 @@ LDLIBS += -L$(TLDK_ROOT)/$(RTE_TARGET)/lib
LDLIBS += -ltle_udp
EXTRA_CFLAGS += -O3
+CFLAGS_parse.o += -D_GNU_SOURCE
+CFLAGS_main.o += -mcmodel=medium
include $(RTE_SDK)/mk/rte.extapp.mk