From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sesbmg22.ericsson.net (sesbmg22.ericsson.net [193.180.251.48]) by dpdk.org (Postfix) with ESMTP id 00A291B183 for ; Thu, 4 Oct 2018 13:21:27 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; d=ericsson.com; s=mailgw201801; c=relaxed/simple; q=dns/txt; i=@ericsson.com; t=1538652087; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:CC:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=OZ48axd3zC2DRAkSsiDKDWe5G2MkRa1GtKy9AbAvj6M=; b=Z6D1Vr9398KpM3eMSHWlbfpGFqKt6SEk4kZS3oMvi5jDsT/fNofgatytXTU5raPw C/o3GST06+diAYYKiLeD7qI5smgeAmYwy9/96tAIsSGLWdNDE+FLXzsNnPIrQXVq r9KSglqefgDFClUs4rOVgj6q2dnAOZ8Qp7yrUr5zlnM=; X-AuditID: c1b4fb30-ff9ff700000055da-60-5bb5f7b7ac3a Received: from ESESSMB505.ericsson.se (Unknown_Domain [153.88.183.123]) by sesbmg22.ericsson.net (Symantec Mail Security) with SMTP id C8.C6.21978.7B7F5BB5; Thu, 4 Oct 2018 13:21:27 +0200 (CEST) Received: from ESESBMB504.ericsson.se (153.88.183.171) by ESESSMB505.ericsson.se (153.88.183.166) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Thu, 4 Oct 2018 13:21:27 +0200 Received: from selio1a020.lmera.ericsson.se (153.88.183.153) by smtp.internal.ericsson.com (153.88.183.187) with Microsoft SMTP Server id 15.1.1466.3 via Frontend Transport; Thu, 4 Oct 2018 13:21:27 +0200 Received: from breslau.lmera.ericsson.se (breslau.lmera.ericsson.se [150.132.109.241]) by selio1a020.lmera.ericsson.se (8.15.1+Sun/8.15.1) with ESMTP id w94BLQbt021517; Thu, 4 Oct 2018 13:21:27 +0200 (CEST) From: =?UTF-8?q?Mattias=20R=C3=B6nnblom?= To: Jerin Jacob CC: Ferruh Yigit , , =?UTF-8?q?Mattias=20R=C3=B6nnblom?= Date: Thu, 4 Oct 2018 13:21:13 +0200 Message-ID: <20181004112113.21011-1-mattias.ronnblom@ericsson.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180918124514.10615-2-mattias.ronnblom@ericsson.com> References: <20180918124514.10615-2-mattias.ronnblom@ericsson.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrOLMWRmVeSWpSXmKPExsUyM2J7te7271ujDW6/kLJ492k7k8WdvafZ LSZOMnFg9thwop/V49eCpawei/e8ZApgjuKySUnNySxLLdK3S+DKuHJiO2vBd7aKLVc/sjYw vmXtYuTkkBAwkfi4+h1jFyMXh5DAUUaJP997mCCcr4wSd78fYoNwLjBKnN67kRXCucQocerE ayaQfjYBT4nJ77pZQGwRAQOJRWfuM4MUMQs0MEpsefwfbImwgI7E1KmtjCA2i4CKxNz/zWA2 r4CTxO4vU6AOkZdYveEAUDMHB6eAs0TPBA4QUwio5OqeZIhqQYmTM5+ArWIW0JRo3f6bHcKW l2jeOpsZxBYS0JK4v+QL8wRGoVlIWmYhaZmFpGUBI/MqRtHi1OKk3HQjI73Uoszk4uL8PL28 1JJNjMDgPrjlt8EOxpfPHQ8xCnAwKvHwJr/dGi3EmlhWXJl7iFGCg1lJhNdwAVCINyWxsiq1 KD++qDQntfgQozQHi5I4r4Xf5ighgfTEktTs1NSC1CKYLBMHp1QDY9dnNpOmlKtrL6V/m87Y 3OmraPWN5+6agGvvdd+9+aW21UXx3e6z9uuviBleXBl/Z0L3lfvP/JiPLJ/Kkq2u2yHxw3jx Cm7DC9PjBOZNyy39rZqg3zHxY43Zl+IV59s735Ttd1V6GnTm3gZ7xofTY8MbFvI6zWoSnncr vHPeyn9BzNYXX509dVGJpTgj0VCLuag4EQA34zZ/agIAAA== Subject: [dpdk-dev] [PATCH v2] event/dsw: fix icc build X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Oct 2018 11:21:28 -0000 Make the -Wno-format-nonliteral flag conditional, and only set in clang and gcc builds, since this flag is not supported (nor needed) when building dsw with icc. Fixes: 46a186b1f0c5 ("event/dsw: add device registration and build system") Signed-off-by: Mattias Rönnblom Reviewed-by: Ferruh Yigit --- drivers/event/dsw/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/event/dsw/Makefile b/drivers/event/dsw/Makefile index ea1e5259a..490ed0b98 100644 --- a/drivers/event/dsw/Makefile +++ b/drivers/event/dsw/Makefile @@ -8,7 +8,9 @@ LIB = librte_pmd_dsw_event.a CFLAGS += -DALLOW_EXPERIMENTAL_API CFLAGS += -O3 CFLAGS += $(WERROR_FLAGS) +ifneq ($(CONFIG_RTE_TOOLCHAIN_ICC),y) CFLAGS += -Wno-format-nonliteral +endif LDLIBS += -lrte_eal LDLIBS += -lrte_mbuf -- 2.17.1