X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=examples%2Fkni%2FMakefile;h=dd90d7d734f3d0e53167009257e9972cd7fc2e72;hb=6ef75e405d5a88e8806b261c1a6c3f6b30385007;hp=7e19d2e2a04fd69d799cbcc28f2e8fc96529f9c9;hpb=ed3077c16557e40e1967bed146eed3023b6cea5f;p=dpdk.git diff --git a/examples/kni/Makefile b/examples/kni/Makefile index 7e19d2e2a0..dd90d7d734 100644 --- a/examples/kni/Makefile +++ b/examples/kni/Makefile @@ -20,6 +20,7 @@ static: build/$(APP)-static PC_FILE := $(shell pkg-config --path libdpdk) CFLAGS += -O3 $(shell pkg-config --cflags libdpdk) +CFLAGS += -DALLOW_EXPERIMENTAL_API LDFLAGS_SHARED = $(shell pkg-config --libs libdpdk) LDFLAGS_STATIC = -Wl,-Bstatic $(shell pkg-config --static --libs libdpdk) @@ -54,6 +55,7 @@ please change the definition of the RTE_TARGET environment variable) endif CFLAGS += -O3 +CFLAGS += -DALLOW_EXPERIMENTAL_API CFLAGS += $(WERROR_FLAGS) include $(RTE_SDK)/mk/rte.extapp.mk