From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id DA2D01C01 for ; Thu, 26 Jul 2018 10:10:48 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 638AE21FF8; Thu, 26 Jul 2018 04:10:48 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Thu, 26 Jul 2018 04:10:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=mesmtp; bh=h9lzgMb/JUWbRTiPi6dVlXe7Gc Di7jmaXWH1sk+Z0xY=; b=EXOwV+VeDyqKuHiT+snq41fraG7RTGJRoFitun9LSz LBqFHGPS+OvmXuKq/IkG7CFHKYokMG5vzKToLKDJ/klX+CloxGHggWt9g+z2e444 tdTe2PS9mz58SKtZr60Q9IAu6RDZm41+YeBcK2EOgKiy9BLI9SuSl5yrIKJs2CFP A= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=h9lzgM b/JUWbRTiPi6dVlXe7GcDi7jmaXWH1sk+Z0xY=; b=Ml4LPMrB1ucw/JoThvddSU 78C38bP6cuFjnR5V5Cy67m6NwPvoNgkcZJqp54t/RM7whIS/YTgbSIx17Ic9NUMT 5XYLEopfFFSVul6eYjOU+0a1+HaQ9O1KtqG62OpG84qgL8yCMUO8HGGomnOvwaqQ NEkxs1GLBPlNTMGKsbkFjJkB0FTUKNYw1GBz+Qz6rFlSnv9EmDiWrfOMdUmyqW2x Xm5VRhYuMZOw23i8MFRlPgTfRyvV7TXep0idu2/FHrVycEV+TFJEGa+3kvGywxIB fpfGE1pFd/Ch1Pv0EzFqvRZVSO6fRNR9rG5vcGZMBH+krqpxU0cBR3Go8lVukYdw == X-ME-Proxy: X-ME-Sender: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 4E9091025D; Thu, 26 Jul 2018 04:10:47 -0400 (EDT) From: Thomas Monjalon To: Bruce Richardson Cc: dev@dpdk.org Date: Thu, 26 Jul 2018 10:10:42 +0200 Message-ID: <5416350.4EgPhb2RIe@xps> In-Reply-To: <20180719142206.1478-1-bruce.richardson@intel.com> References: <20180719142206.1478-1-bruce.richardson@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] build: remove duplicate checks for cflags 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, 26 Jul 2018 08:10:49 -0000 19/07/2018 16:22, Bruce Richardson: > There is no need to check for each library, driver and example whether > certain cflags are supported. Instead of checking inside the loop, do > so outside and reuse the value. > > Signed-off-by: Bruce Richardson The build log looks cleaner. Applied, thanks