From patchwork Sat Jul 7 01:07:04 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laura Abbott X-Patchwork-Id: 10512651 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id BCF4E60532 for ; Sat, 7 Jul 2018 01:07:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B56A0287EF for ; Sat, 7 Jul 2018 01:07:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A98AD287E3; Sat, 7 Jul 2018 01:07:33 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 581BA287FE for ; Sat, 7 Jul 2018 01:07:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754119AbeGGBHa (ORCPT ); Fri, 6 Jul 2018 21:07:30 -0400 Received: from mail-qt0-f195.google.com ([209.85.216.195]:36742 "EHLO mail-qt0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754172AbeGGBH3 (ORCPT ); Fri, 6 Jul 2018 21:07:29 -0400 Received: by mail-qt0-f195.google.com with SMTP id f1-v6so11398897qti.3 for ; Fri, 06 Jul 2018 18:07:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=VY/IhgIqxGkrQSyydj6bne3tZx4/JPRqdhis0pn0AqQ=; b=TWlceyyYg0pnXx5ZnzJCaTcbNF54jBcqFq0BDsFCm3RbpheVbrDXf4NWihGMgLI7z5 jfIO/agIkBuG12oWbc5gxE245Z82ax15YHqeBbnxGLRW4EgCGXvKH+SCfa9zjOD5zo4Y nSgcJ+DZdn0e1Dq5qFAiLIaPr7OATeZCQPO9UufJ/5I34vruEU214Um1yK62XWzSAXm1 bFznrFkrKPx7z0qWUvRKJKq6NVRFO2vjSoDDZyKfNMDicGPlpxbiwcuLP9VvGJHHWWmZ p72q7GaQ0q+KyabFefYdjp4a9oGrvqXncw7GCWodCkPJqjxtesC8qGYjDIywu4YrNtsg aglg== X-Gm-Message-State: APt69E08EjRIPVRLNTthG0FSDMKvu41O8VhmB9IolHKPv2/fiMK5xREc AwQ9K/JE5DYov2VAcvonuCfzIw== X-Google-Smtp-Source: AAOMgpfYB3XTLR+AaPgxavhf59J+jRgFdX+nZ/2rxPkal+obnXelgtO8p0R5/198KslKVybp182z7Q== X-Received: by 2002:ac8:33c2:: with SMTP id d2-v6mr11084985qtb.323.1530925648480; Fri, 06 Jul 2018 18:07:28 -0700 (PDT) Received: from labbott-redhat.redhat.com ([2601:602:9802:a8dc::f0c1]) by smtp.gmail.com with ESMTPSA id b3-v6sm3359698qtg.20.2018.07.06.18.07.26 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 06 Jul 2018 18:07:27 -0700 (PDT) From: Laura Abbott To: Masahiro Yamada , Josh Poimboeuf , Jiri Olsa Cc: Laura Abbott , linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, Robin Jarry Subject: [PATCH 2/7] tools: build: Use HOSTLDFLAGS with fixdep Date: Fri, 6 Jul 2018 18:07:04 -0700 Message-Id: <20180707010709.16648-3-labbott@redhat.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180707010709.16648-1-labbott@redhat.com> References: <20180707010709.16648-1-labbott@redhat.com> Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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. --- 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: