From: Cristian Dumitrescu Date: Mon, 26 Oct 2020 21:57:55 +0000 (+0000) Subject: examples/ip_pipeline: fix external build X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=570e681079e8d7ca65fb2949189ccbff1eb9e418;p=dpdk.git examples/ip_pipeline: fix external build Fix build with external makefile. Fixes: fbc74e66334f ("examples/ip_pipeline: remove infra code") Signed-off-by: Cristian Dumitrescu --- diff --git a/examples/ip_pipeline/Makefile b/examples/ip_pipeline/Makefile index d25e39a464..4b391973cb 100644 --- a/examples/ip_pipeline/Makefile +++ b/examples/ip_pipeline/Makefile @@ -39,7 +39,7 @@ CFLAGS += -O3 $(shell $(PKGCONF) --cflags libdpdk) LDFLAGS_SHARED = $(shell $(PKGCONF) --libs libdpdk) LDFLAGS_STATIC = $(shell $(PKGCONF) --static --libs libdpdk) -CFLAGS += -I. +CFLAGS += -I. -DALLOW_EXPERIMENTAL_API -D_GNU_SOURCE OBJS := $(patsubst %.c,build/%.o,$(SRCS-y))