Received: by 2002:ac0:a591:0:0:0:0:0 with SMTP id m17-v6csp1478206imm; Sun, 8 Jul 2018 03:56:14 -0700 (PDT) X-Google-Smtp-Source: AAOMgpc6Hu5S0UATcCioeXfWNDHtA1bCZZwp2OP5ovN2iHX7IbujDY9IEAzLH1dcyC94oiVNBNW1 X-Received: by 2002:a62:2983:: with SMTP id p125-v6mr2998958pfp.128.1531047374460; Sun, 08 Jul 2018 03:56:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531047374; cv=none; d=google.com; s=arc-20160816; b=dJHbAkDnEl6TigL3HEGsOovZ1EYYWttOhJQu/4JCskI+cmWalSNJkJOUH6p8Lk2bjg jzVJ6nv+huZhbwCqb0yu88a4j56mKosGLYS07N/U+jg/yeDh/jkgwSG+H/WknJHj5dUL FbvsfJcXeVAvQwLKM8bJ6L4qXYDNVNZYAGTKI2Wds76wFuaQzpf0njl0A4IzLMkV3lRz sBppBEBDoud14mn73Nf1zUXP4qzHxcTYrKuZxU6yVy33CxjBrWHXuBs224jtR+3hF46a xLuxzv81jwOG6emzWg6EPY3jpyZsSitvdj0p3x26dDwfil1eDzO4DctMLpItAKGtpgoO T0RQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=5qgvd5rnox44RplZcpg251gos5OlhaKTD+r+J2eo3jE=; b=QfS6AEJxoc8AQFMOkHWJGfvgsZZeYPngdHz06/i79oaeMaIrYj2ZfUKNmW9ZN6qebj /Bfl9RCfxkHQlz+FyMfx2mJ9DGUESw+k1pM5gspsAlhQvbi7y1IA+GNkN7/izr9UGiEt vAs28F3iSRooVnhM7TMta+V2BsYY7bDVdnbYK0cA9/A4IvMF/C4FVJtr4XMHxUPI9NAu bn8QJ+/YUC24uAomkxNmBBWiHDMG1jTzYiPsMOz88Bdq2erQ+Ge7i1z2Ta22SWYCtBJ9 /VZBqNxN0zNheWWR7H6pk2kkq2IYwDsK+jaNKuy4OR/0E2MK4fA09cMNcbFhAs8Ko2r2 wQxw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j63-v6si2457411pgd.425.2018.07.08.03.55.59; Sun, 08 Jul 2018 03:56:14 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932860AbeGHKzT (ORCPT + 99 others); Sun, 8 Jul 2018 06:55:19 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:38306 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932757AbeGHKzS (ORCPT ); Sun, 8 Jul 2018 06:55:18 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 2FB877C809; Sun, 8 Jul 2018 10:55:18 +0000 (UTC) Received: from krava (ovpn-204-62.brq.redhat.com [10.40.204.62]) by smtp.corp.redhat.com (Postfix) with SMTP id 4FB30111DCE6; Sun, 8 Jul 2018 10:55:16 +0000 (UTC) Date: Sun, 8 Jul 2018 12:55:15 +0200 From: Jiri Olsa To: Laura Abbott Cc: Masahiro Yamada , Josh Poimboeuf , Jiri Olsa , linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, Robin Jarry Subject: Re: [PATCH 2/7] tools: build: Use HOSTLDFLAGS with fixdep Message-ID: <20180708105515.GA29861@krava> References: <20180707010709.16648-1-labbott@redhat.com> <20180707010709.16648-3-labbott@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180707010709.16648-3-labbott@redhat.com> User-Agent: Mutt/1.10.0 (2018-05-17) X-Scanned-By: MIMEDefang 2.78 on 10.11.54.3 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.2]); Sun, 08 Jul 2018 10:55:18 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.2]); Sun, 08 Jul 2018 10:55:18 +0000 (UTC) for IP:'10.11.54.3' DOMAIN:'int-mx03.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'jolsa@redhat.com' RCPT:'' Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jul 06, 2018 at 06:07:04PM -0700, Laura Abbott wrote: > The final link of fixdep uses LDFLAGS but not the existing HOSTLDFLAGS. > Fix this. > > Signed-off-by: Laura Abbott > --- > This was another one where I couldn't tell of the use of LDFLAGS was a > typo or intentional, hence keeping both. I think the replacement (using just HOSTLDFLAGS) should be the correct fix, moreover fixdep doesn't have any special link requirements thanks, jirka > --- > tools/build/Makefile | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tools/build/Makefile b/tools/build/Makefile > index 5eb4b5ad79cb..cd0fd2cd165b 100644 > --- a/tools/build/Makefile > +++ b/tools/build/Makefile > @@ -43,7 +43,7 @@ $(OUTPUT)fixdep-in.o: FORCE > $(Q)$(MAKE) $(build)=fixdep > > $(OUTPUT)fixdep: $(OUTPUT)fixdep-in.o > - $(QUIET_LINK)$(HOSTCC) $(LDFLAGS) -o $@ $< > + $(QUIET_LINK)$(HOSTCC) $(HOSTLDFLAGS) $(LDFLAGS) -o $@ $< > > FORCE: > > -- > 2.17.1 >