examples/ip_pipeline: fix external build
authorCristian Dumitrescu <cristian.dumitrescu@intel.com>
Mon, 26 Oct 2020 21:57:55 +0000 (21:57 +0000)
committerDavid Marchand <david.marchand@redhat.com>
Thu, 29 Oct 2020 16:32:51 +0000 (17:32 +0100)
Fix build with external makefile.

Fixes: fbc74e66334f ("examples/ip_pipeline: remove infra code")

Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
examples/ip_pipeline/Makefile

index d25e39a..4b39197 100644 (file)
@@ -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))