From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v5 2/2] doc: add a guide doc for cross compiling from x86 Date: Tue, 12 Jun 2018 14:11:55 +0200 Message-ID: <8265261.Xyl0roSxZe@xps> References: <1527578508-27297-1-git-send-email-gavin.hu@arm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: Jerin Jacob , Bruce Richardson , "dev@dpdk.org" , nd To: Gavin Hu 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) In-Reply-To: List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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?