Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1393204imm; Tue, 10 Jul 2018 00:40:09 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeWhfWaIiNz8wo57RrvuTSBuM6LFJeUz29bWDyZ+Mawb2g54aHgspxrHJSWANV9EOQuWEjN X-Received: by 2002:a62:4bc6:: with SMTP id d67-v6mr24218385pfj.175.1531208409571; Tue, 10 Jul 2018 00:40:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531208409; cv=none; d=google.com; s=arc-20160816; b=ApF7fDeY1mmq5l7HrQMrt3CZdccR+J/e17viKoH/JAb16wA8hGAtEg4lMK2i5DtEoM QOMSGCEZ9yZyvU30MwH79XSZzQuOWBV5KUG0o/BRSE3qxH6WCeCxSYYeOLem+aJjlAVP 6vVmX4iKX2kN2sQSXVDtosWDqxum9UgGaRCXE4D2qcIReRp58WKlzagLd7qtq0v8IWJD ITo+gVt9re231JF3brxYXdnmxFj+t+3qdJ0o5Cz0HpjiCHQ9XLc+8FNuCpjRmOsnLcFL kT18RXFjHclKVJg+tvBioxREtuFE8GD3wZbLeD6CB/aFbB3l5jEvlfJY4EsGKmortaHc vQAg== 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=ikSuZr3CB2ggNR+Z55jU3Nym3G7ccl/n3BqdQtQKOW4=; b=p8oJd0/SBDStjE4+JttoHTpcoWQdG1Od+PRpAdQySbF5O9pnIRPAJ+I+Fqjt8VD5br Emq6j/DuSFIWTNxFKSUu6lBo1kTBoX5ICxIRhCZ6Vrz8efEYHJn8uMWz0/osTcmKXXA1 OqWnPdBGCmCo69yuECWBMzsT+wYD/TltQwhG32TgZ0pqxDviM+Ztbv7wQKkLdgmoSIuM 7j+CMR4j/4fBwOk8Z6rxxQBztjzI7QI6wy56NNUTyFsa8vCpBQDB1HY84sQXMqSJGrd6 289FlgDqoxtoR/iwRDxltZnHzdSbFlFGd+XeR+FamRrDhEaCvLCeO9e8AiZh+90AWYZB 89TQ== 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 t1-v6si15818135plq.280.2018.07.10.00.39.54; Tue, 10 Jul 2018 00:40:09 -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 S1751328AbeGJHi6 (ORCPT + 99 others); Tue, 10 Jul 2018 03:38:58 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:35520 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751047AbeGJHi5 (ORCPT ); Tue, 10 Jul 2018 03:38:57 -0400 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 6EA63857A6; Tue, 10 Jul 2018 07:38:56 +0000 (UTC) Received: from krava (unknown [10.43.17.196]) by smtp.corp.redhat.com (Postfix) with SMTP id 512272156889; Tue, 10 Jul 2018 07:38:55 +0000 (UTC) Date: Tue, 10 Jul 2018 09:38:54 +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: [PATCHv2 2/7] tools: build: Use HOSTLDFLAGS with fixdep Message-ID: <20180710073854.GB7671@krava> References: <20180710004602.21599-1-labbott@redhat.com> <20180710004602.21599-3-labbott@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180710004602.21599-3-labbott@redhat.com> User-Agent: Mutt/1.10.0 (2018-05-17) X-Scanned-By: MIMEDefang 2.78 on 10.11.54.6 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.2]); Tue, 10 Jul 2018 07:38:56 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.2]); Tue, 10 Jul 2018 07:38:56 +0000 (UTC) for IP:'10.11.54.6' DOMAIN:'int-mx06.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 Mon, Jul 09, 2018 at 05:45:57PM -0700, Laura Abbott wrote: > The final link of fixdep uses LDFLAGS but not the existing HOSTLDFLAGS. > Fix this. > > Signed-off-by: Laura Abbott Acked-by: Jiri Olsa thanks, jirka > --- > v2: Switch to just using HOSTLDFLAGS instead of both LDFLAGS and > HOSTLDFLAGS. > --- > tools/build/Makefile | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tools/build/Makefile b/tools/build/Makefile > index 5eb4b5ad79cb..5edf65e684ab 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) -o $@ $< > > FORCE: > > -- > 2.17.1 >