examples/ip_pipeline: fix build with external makefile
diff mbox series

Message ID 20201026215755.9133-1-cristian.dumitrescu@intel.com
State Accepted, archived
Delegated to: David Marchand
Headers show
Series
  • examples/ip_pipeline: fix build with external makefile
Related show

Checks

Context Check Description
ci/iol-mellanox-Performance success Performance Testing PASS
ci/iol-intel-Performance success Performance Testing PASS
ci/iol-testing success Testing PASS
ci/iol-intel-Functional success Functional Testing PASS
ci/iol-broadcom-Functional success Functional Testing PASS
ci/iol-broadcom-Performance success Performance Testing PASS
ci/travis-robot success Travis build: passed
ci/Intel-compilation success Compilation OK
ci/checkpatch success coding style OK

Commit Message

Dumitrescu, Cristian Oct. 26, 2020, 9:57 p.m. UTC
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 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

David Marchand Oct. 29, 2020, 4:31 p.m. UTC | #1
On Mon, Oct 26, 2020 at 10:58 PM Cristian Dumitrescu
<cristian.dumitrescu@intel.com> wrote:
>
> Fix build with external makefile.
>
> Fixes: fbc74e66334f ("examples/ip_pipeline: remove infra code")

> Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>

Applied, thanks.

Patch
diff mbox series

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))