[dpdk-dev] [PATCH] examples/ip_pipeline: fix build with external makefile

Cristian Dumitrescu cristian.dumitrescu at intel.com
Mon Oct 26 22:57:55 CET 2020


Fix build with external makefile.

Fixes: fbc74e66334f ("examples/ip_pipeline: remove infra code")
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu at intel.com>
---
 examples/ip_pipeline/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/examples/ip_pipeline/Makefile b/examples/ip_pipeline/Makefile
index d25e39a46..4b391973c 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))
 
-- 
2.17.1



More information about the dev mailing list