X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=examples%2Fhelloworld%2FMakefile;h=0f5af0806b3fed2212a2c80f17885c9d371bf2f6;hb=cd161800e9119f096b428068c9a364e6c51a2870;hp=267f90b4e06886875582c2cb75162eaea6bde57e;hpb=12a652a02b080f26a1e9fd0169a58d6bcbe7b03c;p=dpdk.git diff --git a/examples/helloworld/Makefile b/examples/helloworld/Makefile index 267f90b4e0..0f5af0806b 100644 --- a/examples/helloworld/Makefile +++ b/examples/helloworld/Makefile @@ -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 include $(RTE_SDK)/mk/rte.extapp.mk