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 802004C9F for ; Wed, 3 Oct 2018 10:23:03 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; d=ericsson.com; s=mailgw201801; c=relaxed/simple; q=dns/txt; i=@ericsson.com; t=1538554981; 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=2pcpQWJtytW/wfL7Hxbc8SGnhhaA5O8JQUKN6+7AOro=; b=OVGALMqwizKWzYo1Tgy8pQowVu3EOVNh2oX7jM1xQuFOzJRBjWwcZv0T/n0yH2Fa Yl3c6P33bJu0P0eny3ZK3i+mKSf04uXR8JLeDYEQCn1E+dqLP8bi1z2uw3roSV17 bKb5nXFd4I9lYnIXrkbpCP2G/x5SUFX0GQ7dedlY72E=; X-AuditID: c1b4fb30-ff9ff700000055da-eb-5bb47c652a98 Received: from ESESSMB501.ericsson.se (Unknown_Domain [153.88.183.119]) by sesbmg22.ericsson.net (Symantec Mail Security) with SMTP id 87.66.21978.56C74BB5; Wed, 3 Oct 2018 10:23:01 +0200 (CEST) Received: from ESESBMB505.ericsson.se (153.88.183.172) by ESESSMB501.ericsson.se (153.88.183.162) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Wed, 3 Oct 2018 10:14:27 +0200 Received: from selio1a020.lmera.ericsson.se (153.88.183.153) by smtp.internal.ericsson.com (153.88.183.188) with Microsoft SMTP Server id 15.1.1466.3 via Frontend Transport; Wed, 3 Oct 2018 10:14: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 w938EQ1A009545; Wed, 3 Oct 2018 10:14: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: Wed, 3 Oct 2018 10:13:53 +0200 Message-ID: <20181003081353.6679-1-mattias.ronnblom@ericsson.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrPLMWRmVeSWpSXmKPExsUyM2J7uW5qzZZog0+dhhbvPm1nsriz9zS7 xcRJJg7MHhtO9LN6/FqwlNVj8Z6XTAHMUVw2Kak5mWWpRfp2CVwZi/7eYyn4wFrx7/YNpgbG HyxdjJwcEgImEldnr2LrYuTiEBI4yigx8dBVRgjnK6NE/84PzBDOBUaJLx0HWEFahAQuMUrs Op4EYrMJeEpMftcNNkpEwEBi0Zn7YA3MAg2MElse/wdrEAYq+r9hFtAODg4WARWJlweNQcK8 Ao4ST6eeYYQ4Q15i9YYDzBBxQYmTM5+AzWQW0JRo3f6bHcKWl2jeOpsZ4gYtiftLvjBPYBSY haRlFpKWWUhaFjAyr2IULU4tTspNNzLSSy3KTC4uzs/Ty0st2cQIDNaDW34b7GB8+dzxEKMA B6MSD+/fgi3RQqyJZcWVuYcYJTiYlUR4+xI3RwvxpiRWVqUW5ccXleakFh9ilOZgURLntfDb HCUkkJ5YkpqdmlqQWgSTZeLglGpgXGfBJ9VhudfsU0BWf/1sT+PQP339r6Kilp9yOXVZpqXg /aLPXGlMDD/2mYlUJ/jI7bz4P+z71isy0RF9n2+uCj3YeS/xOaNxSZZHU1T4BvsZJ4680o3j zlp1uvX0MldGtdwLO58YPvzT02TXW9Wp+6zFoqX2Q6deWURaU9pKk++bpGrtNC2VWIozEg21 mIuKEwFQ5yAvUgIAAA== Subject: [dpdk-dev] [PATCH] event/dsw: avoid supplying -Wno-format-nonliteral to icc 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: Wed, 03 Oct 2018 08:23:03 -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 with icc. Signed-off-by: Mattias Rönnblom --- 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