X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=examples%2Fvhost_scsi%2FMakefile;h=05e1cedb7d74b48247ef4fd21dac7becb9ab6327;hb=ea7768b5bba8;hp=3ea37ebc6f246c2bb2e66d03aecdaddb26e16462;hpb=ca9268529d2be1764054591ad57a7aac008e16b4;p=dpdk.git diff --git a/examples/vhost_scsi/Makefile b/examples/vhost_scsi/Makefile index 3ea37ebc6f..05e1cedb7d 100644 --- a/examples/vhost_scsi/Makefile +++ b/examples/vhost_scsi/Makefile @@ -8,8 +8,7 @@ APP = vhost-scsi SRCS-y := scsi.c vhost_scsi.c # Build using pkg-config variables if possible -$(shell pkg-config --exists libdpdk) -ifeq ($(.SHELLSTATUS),0) +ifeq ($(shell pkg-config --exists libdpdk && echo 0),0) all: shared .PHONY: shared static @@ -59,6 +58,7 @@ please change the definition of the RTE_TARGET environment variable) all: else +CFLAGS += -DALLOW_EXPERIMENTAL_API CFLAGS += -D_FILE_OFFSET_BITS=64 CFLAGS += -O2 CFLAGS += $(WERROR_FLAGS)