]> git.droids-corp.org - dpdk.git/blobdiff - examples/ptpclient/Makefile
telemetry: move some functions to metrics library
[dpdk.git] / examples / ptpclient / Makefile
index 0f8390b6892f0af5820d2c2629a2d7f3d7faca34..7cd36632a996001781a78a4a7df4bb70c58af6c7 100644 (file)
@@ -19,7 +19,7 @@ static: build/$(APP)-static
 
 PKGCONF ?= pkg-config
 
-PC_FILE := $(shell $(PKGCONF) --path libdpdk)
+PC_FILE := $(shell $(PKGCONF) --path libdpdk 2>/dev/null)
 CFLAGS += -O3 $(shell $(PKGCONF) --cflags libdpdk)
 LDFLAGS_SHARED = $(shell $(PKGCONF) --libs libdpdk)
 LDFLAGS_STATIC = -Wl,-Bstatic $(shell $(PKGCONF) --static --libs libdpdk)
@@ -51,6 +51,7 @@ include $(RTE_SDK)/mk/rte.vars.mk
 
 CFLAGS += -O3
 CFLAGS += $(WERROR_FLAGS)
+CFLAGS += -DALLOW_EXPERIMENTAL_API
 
 # workaround for a gcc bug with noreturn attribute
 # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12603