From patchwork Tue Jul 10 00:45:57 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laura Abbott X-Patchwork-Id: 10516003 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 643A46032C for ; Tue, 10 Jul 2018 00:46:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 53F4D28BFB for ; Tue, 10 Jul 2018 00:46:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 46A3A28C0F; Tue, 10 Jul 2018 00:46:57 +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 004C428BFB for ; Tue, 10 Jul 2018 00:46:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933401AbeGJAqZ (ORCPT ); Mon, 9 Jul 2018 20:46:25 -0400 Received: from mail-qt0-f194.google.com ([209.85.216.194]:40029 "EHLO mail-qt0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933345AbeGJAqR (ORCPT ); Mon, 9 Jul 2018 20:46:17 -0400 Received: by mail-qt0-f194.google.com with SMTP id h4-v6so16997066qtj.7 for ; Mon, 09 Jul 2018 17:46:17 -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=raVTaAOmegLYYUImTxrUngb8fkvcUzBZxc/lOqQSVxI=; b=TXQd6hMWTNNOqwEL+m2ftFqM4dQzh+6exzIqDt3/1l2lGUCvtsOgmUYyJ6vCewAeyR vSLyGRlaitFWs+RxNyUzTS3L5+2bWfqvti22PK8KX0AgrejazVOVUk34YC3yLXphMd9C QJ/i7TqdguCHMhYnRdVryMkS2UuryfTNd5Cz3NMEUXo7vZB1d8UpYOGRWy6YT34xLfg7 VPg8zoolToOGF4i7ONrql/uhVhpnhOPhRV0g9eShx361VDEtVI4aXlg1J7laQAnekL4j lFUBHvuhVlh3vscR5XeCmEmb6RhNJtjixzzuBRHDkxNOReDhccsQEqk8tDDLuXud+vHD 4qMw== X-Gm-Message-State: APt69E19tnC3NSu1zabZJEJvpCe8G2dhdUu9z1zyynSqH+GAC4OcyVKU 55vahiC7qOWReq0XjAktA6Wxew== X-Google-Smtp-Source: AAOMgpfAsRW3ioozCgLb/HjGuebvQED0sH9p9iETyFhikaimJg1OO5sg0kv6ekri27/HuVuWbUp3VQ== X-Received: by 2002:ac8:242b:: with SMTP id c40-v6mr21266784qtc.209.1531183576855; Mon, 09 Jul 2018 17:46:16 -0700 (PDT) Received: from labbott-redhat.redhat.com ([2601:602:9802:a8dc::1941]) by smtp.gmail.com with ESMTPSA id l36-v6sm1816792qtk.12.2018.07.09.17.46.14 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 09 Jul 2018 17:46:15 -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: [PATCHv2 2/7] tools: build: Use HOSTLDFLAGS with fixdep Date: Mon, 9 Jul 2018 17:45:57 -0700 Message-Id: <20180710004602.21599-3-labbott@redhat.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180710004602.21599-1-labbott@redhat.com> References: <20180710004602.21599-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 Acked-by: Jiri Olsa --- 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: