From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from tama500.ecl.ntt.co.jp (tama500.ecl.ntt.co.jp [129.60.39.148]) by dpdk.org (Postfix) with ESMTP id 6A0921B5E7 for ; Mon, 26 Nov 2018 08:27:34 +0100 (CET) Received: from vc1.ecl.ntt.co.jp (vc1.ecl.ntt.co.jp [129.60.86.153]) by tama500.ecl.ntt.co.jp (8.13.8/8.13.8) with ESMTP id wAQ7RWAR013107; Mon, 26 Nov 2018 16:27:32 +0900 Received: from vc1.ecl.ntt.co.jp (localhost [127.0.0.1]) by vc1.ecl.ntt.co.jp (Postfix) with ESMTP id B097DEA81F4; Mon, 26 Nov 2018 16:27:32 +0900 (JST) Received: from localhost.localdomain (lobster.nslab.ecl.ntt.co.jp [129.60.13.95]) by vc1.ecl.ntt.co.jp (Postfix) with ESMTP id A3378EA8074; Mon, 26 Nov 2018 16:27:32 +0900 (JST) From: ogawa.yasufumi@lab.ntt.co.jp To: ferruh.yigit@intel.com, spp@dpdk.org, ogawa.yasufumi@lab.ntt.co.jp Date: Mon, 26 Nov 2018 16:25:15 +0900 Message-Id: <1543217116-13662-2-git-send-email-ogawa.yasufumi@lab.ntt.co.jp> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1543217116-13662-1-git-send-email-ogawa.yasufumi@lab.ntt.co.jp> References: <1543217116-13662-1-git-send-email-ogawa.yasufumi@lab.ntt.co.jp> X-TM-AS-MML: disable Subject: [spp] [PATCH 1/2] makefile: add DALLOW_EXPERIMENTAL_API option X-BeenThere: spp@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Soft Patch Panel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Nov 2018 07:27:35 -0000 From: Yasufumi Ogawa Some of latest DPDK APIs introduced to replace deprecated APIs are still experimental. This update is to add `-DALLOW_EXPERIMENTAL_API` option to CFLAGS to avoid compile errors for the experimental APIs. Signed-off-by: Yasufumi Ogawa --- src/mirror/Makefile | 1 + src/nfv/Makefile | 1 + src/primary/Makefile | 1 + src/vf/Makefile | 1 + 4 files changed, 4 insertions(+) diff --git a/src/mirror/Makefile b/src/mirror/Makefile index a759ad2..614a44c 100644 --- a/src/mirror/Makefile +++ b/src/mirror/Makefile @@ -19,6 +19,7 @@ SRCS-y += ../vf/common/command_conn.c ../vf/common/command_proc.c SRCS-y += ../vf/common/command_dec.c SRCS-y += ../vf/common/ringlatencystats.c ../vf/common/string_buffer.c +CFLAGS += -DALLOW_EXPERIMENTAL_API CFLAGS += $(WERROR_FLAGS) -O3 CFLAGS += -I$(SRCDIR)/../shared CFLAGS += -I$(SRCDIR)/../vf/common diff --git a/src/nfv/Makefile b/src/nfv/Makefile index 4d5eec6..16dfbbb 100644 --- a/src/nfv/Makefile +++ b/src/nfv/Makefile @@ -14,6 +14,7 @@ APP = spp_nfv # all source are stored in SRCS-y SRCS-y := nfv.c ../shared/common.c +CFLAGS += -DALLOW_EXPERIMENTAL_API CFLAGS += $(WERROR_FLAGS) -O3 CFLAGS += -I$(SRCDIR)/../shared diff --git a/src/primary/Makefile b/src/primary/Makefile index e8a5d8d..bedea8e 100644 --- a/src/primary/Makefile +++ b/src/primary/Makefile @@ -23,6 +23,7 @@ SRCS-y := main.c init.c args.c ../shared/common.c INC := $(wildcard *.h) +CFLAGS += -DALLOW_EXPERIMENTAL_API CFLAGS += $(WERROR_FLAGS) -O3 CFLAGS += -I$(SRCDIR)/../shared diff --git a/src/vf/Makefile b/src/vf/Makefile index b0a1fdb..f2a167b 100644 --- a/src/vf/Makefile +++ b/src/vf/Makefile @@ -18,6 +18,7 @@ SRCS-y += common/command_conn.c common/command_dec.c common/command_proc.c SRCS-y += common/spp_proc.c SRCS-y += ../shared/common.c +CFLAGS += -DALLOW_EXPERIMENTAL_API CFLAGS += $(WERROR_FLAGS) -O3 CFLAGS += -I$(SRCDIR)/../shared CFLAGS += -I$(SRCDIR)/common -- 2.7.4