From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] mk: use extra cflags when linking apps with the compiler Date: Sun, 30 Apr 2017 21:52:24 +0200 Message-ID: <19653723.ZEEfnGPA3p@xps> References: <1493136647-14744-1-git-send-email-gage.eads@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Gage Eads , john.jacques@intel.com Return-path: Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id A1DA62B9F for ; Sun, 30 Apr 2017 21:52:27 +0200 (CEST) In-Reply-To: <1493136647-14744-1-git-send-email-gage.eads@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 25/04/2017 18:10, Gage Eads: > From: John Jacques > > When using the compiler to link applications, include EXTRA_CFLAGS. This > is needed, for example, when cross-compiling, to pass --sysroot. > GCC cross-compilers built with Yocto don't use the --with-sysroot option, > making it necessary to pass --sysroot command-line option. > > Signed-off-by: John Jacques > Signed-off-by: Gage Eads Applied, thanks