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 EC6C11EAA1 for ; Tue, 12 Jun 2018 14:12:00 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 4073221E68; Tue, 12 Jun 2018 08:11:58 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Tue, 12 Jun 2018 08:11:58 -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=jIznAbZjjs/4meTl5dhe9TiP8j woFrW7PVxgl8jPd2w=; b=OjhZFXm+y0XGHJa/vXrabSKHB6JVemBB6KjWuAh9Xy WBOlMzBXdzDgFGSgb2klwrHcuQrGFhA8JEVvUU3PsJKDynxLMzMRGiC8rFnVTyjv 5ob4BFDXGZBDV066fdCPiUCbr8zOp8ByQQjv16Aga7GfEiMX2Ji1tUsoIi2Do9jb 4= 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=jIznAb Zjjs/4meTl5dhe9TiP8jwoFrW7PVxgl8jPd2w=; b=UKfvvS0IbzcEzBb0juCS7E XSnx5kz09KeGpmL7wb1xpFjlaRfKoQWNXp7+gglW7vDfzTNS4liDG67KFBLCIvy3 fQZ+UqLO9mwCWOIPXrOwUlcMszWetqNwvFQlm9Yz66M9mSbR5y59VViik8PNtGV2 4Mjh62BGrVVLhbwxiqr717APL+I7KIYrcUEq2kRUEmaHKm3GHlQe/YeL5nD9WXHH KYVY6Oe0G2skjdy8iedJLP7hp2iiZlmY33rFOv+SWhrEpxJYNvyRJ6ANkMwE40bk NRPMWoYTreSl4JOWWRrVib0qIOSG2YCkyB93KipvG8FksAWNCgZKqf/vd8JbG72Q == X-ME-Proxy: X-ME-Proxy: X-ME-Proxy: X-ME-Proxy: X-ME-Proxy: 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 6AF3AE4D72; Tue, 12 Jun 2018 08:11:57 -0400 (EDT) From: Thomas Monjalon To: Gavin Hu Cc: Jerin Jacob , Bruce Richardson , "dev@dpdk.org" , nd Date: Tue, 12 Jun 2018 14:11:55 +0200 Message-ID: <8265261.Xyl0roSxZe@xps> In-Reply-To: References: <1527578508-27297-1-git-send-email-gavin.hu@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v5 2/2] doc: add a guide doc for cross compiling from x86 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: Tue, 12 Jun 2018 12:12:01 -0000 12/06/2018 14:06, Gavin Hu: > Hi Jerin, Bruce and Thomas, > > To fix the meson cross build issue(host clang + cross gcc), we have to decouple clang options from gcc ones. > Currently the options for gcc and clang tightly coupled as they share a single meson project and both added to the project arguments, this is the root cause. > > I have a patch to remove the specific options from the project arguments and add it individually to C_FLAGS. It basically work, but it changed a lot of meson.build files. Why is it changing many files? Can we have a fix in a common place? Can you show your patch please?