From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] mk: use extra cflags when linking libs with a compiler Date: Mon, 31 Jul 2017 23:44:26 +0200 Message-ID: <2807565.BH6kPGmNW3@xps> References: <1500995026-20707-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 Return-path: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id DF9F458F6 for ; Mon, 31 Jul 2017 23:44:27 +0200 (CEST) In-Reply-To: <1500995026-20707-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/07/2017 17:03, Gage Eads: > When using the compiler to link libraries, include EXTRA_CFLAGS. This is > needed when cross-compiling to pass --sysroot, for example. GCC > cross-compilers built with Yocto don't use the --with-sysroot option, > making it necessary to pass the --sysroot command-line option. > > This is the same solution as in commit e8fbb6d9cfd9 ("mk: use extra cflags > when linking with compiler"), but applied to libs instead of apps. > --- > mk/rte.lib.mk | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) You forgot the Signed-off-by line.