X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;ds=sidebyside;f=examples%2Fhelloworld%2FMakefile;h=0f5af0806b3fed2212a2c80f17885c9d371bf2f6;hb=a2154606ffa6b5ddacbebd8714facc7e2fda3262;hp=403afa05046c22dd536feef97831e4b612a60ece;hpb=4131ad5db79a016970287282b938ebed2f19bdb3;p=dpdk.git diff --git a/examples/helloworld/Makefile b/examples/helloworld/Makefile index 403afa0504..0f5af0806b 100644 --- a/examples/helloworld/Makefile +++ b/examples/helloworld/Makefile @@ -17,9 +17,9 @@ shared: build/$(APP)-shared static: build/$(APP)-static ln -sf $(APP)-static build/$(APP) -PKGCONF=pkg-config --define-prefix +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 include $(RTE_SDK)/mk/rte.extapp.mk