From patchwork Fri Nov 20 14:34:33 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Doherty, Declan" X-Patchwork-Id: 9025 Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [IPv6:::1]) by dpdk.org (Postfix) with ESMTP id 399C55A6C; Fri, 20 Nov 2015 15:35:42 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 89ECE559C for ; Fri, 20 Nov 2015 15:35:41 +0100 (CET) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga102.fm.intel.com with ESMTP; 20 Nov 2015 06:35:34 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,323,1444719600"; d="scan'208";a="855730964" Received: from dwdohert-dpdk.ir.intel.com ([163.33.213.167]) by orsmga002.jf.intel.com with ESMTP; 20 Nov 2015 06:35:33 -0800 From: Declan Doherty To: dev@dpdk.org Date: Fri, 20 Nov 2015 14:34:33 +0000 Message-Id: <1448030073-30711-1-git-send-email-declan.doherty@intel.com> X-Mailer: git-send-email 2.5.0 Subject: [dpdk-dev] [PATCH] mk: fix compilation for icc version 16 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" This patch changes the ICC conditional check to disable -no-inline-max-size and -no-inline-max-total-size to be for all versions of icc greater than 14 and not just for version 15. Signed-off-by: Declan Doherty Acked-by: Olivier Matz --- mk/toolchain/icc/rte.vars.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mk/toolchain/icc/rte.vars.mk b/mk/toolchain/icc/rte.vars.mk index e39d710..9b6b34b 100644 --- a/mk/toolchain/icc/rte.vars.mk +++ b/mk/toolchain/icc/rte.vars.mk @@ -74,8 +74,8 @@ WERROR_FLAGS += -diag-disable 13368 -diag-disable 15527 # process cpu flags include $(RTE_SDK)/mk/toolchain/$(RTE_TOOLCHAIN)/rte.toolchain-compat.mk -# disable max-inline params boundaries for ICC 15 compiler -ifeq ($(shell test $(ICC_MAJOR_VERSION) -eq 15 && echo 1), 1) +# disable max-inline params boundaries for ICC compiler for version 15 and greater +ifeq ($(shell test $(ICC_MAJOR_VERSION) -ge 14 && echo 1), 1) TOOLCHAIN_CFLAGS += -no-inline-max-size -no-inline-max-total-size endif