Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1116532imm; Mon, 9 Jul 2018 17:47:33 -0700 (PDT) X-Google-Smtp-Source: AAOMgpce7JZwRTnpqyyAqKt94i2Q7uL3F18O+aPb51pfrhE2HJ28v6YqFGenU/CTEh4wIBJObWeF X-Received: by 2002:a17:902:ba97:: with SMTP id k23-v6mr22596369pls.259.1531183653006; Mon, 09 Jul 2018 17:47:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531183652; cv=none; d=google.com; s=arc-20160816; b=IU06ajL78P3jrGuucktC8RlS+81Ks/wNttXpZZyNV9oPYwQTxNFY2/Y4xgKlGSnfOO KdInwRe+DIK4NaTkbpRYxTDsbLaPuE5RjTAft3uE98ziNCR+P3kxk5yBhVW+e+EST9Hi 9IWw8uEPMflYTW7eVkjnjyxej+Sp8nzydM+DvOx2L8rSnuVO7rmAfheVg5GEZc+cNItN dIlec3WecUO43hJ+jOBlsU7HJNGrGawnRK75PBP2rT58pajTTnC8EsmTUwcrItMkley5 kqtpw3LnOYOjMxOdDHpVfk7lFGgyi+9bw0UimHSZgSDCGT7AfHpNCn0L2NWgebWyhVtc gnkg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=raVTaAOmegLYYUImTxrUngb8fkvcUzBZxc/lOqQSVxI=; b=FOkj+gT4Xfg3VcaYlvKQ78hrFyAbKEKehQlUizIDXjUx7Pk2SfZw7821Ap7yjX1wGe IwZyeFz1R7uaqSezJnXoBkpxDSh5xaGYeAoNx6rI668uVnkv1oBVR4DAEtIMeCptMeeq z2M//pddEjQsQIgvTazwzH/vRRruW9mD+DnwOdKEn+UfJsx+emg/apDg0HhxOb+aQM3G 3gLPXfj69u2k2Ql2yB0KHBDCiKYEooIvf6rJj3cDJLDQidTSgR3xhLzxz1kD1GCcoTqf L/VrNRWkVzz2tAom9NtqtiiNPoD4pe4lvIpmfsgGniCwXR0YdaWNjJ0N1SRfGR377B6T MuRg== 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 r7-v6si15245907pgl.1.2018.07.09.17.47.18; Mon, 09 Jul 2018 17:47:32 -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 S933416AbeGJAq1 (ORCPT + 99 others); Mon, 9 Jul 2018 20:46:27 -0400 Received: from mail-qt0-f195.google.com ([209.85.216.195]:42019 "EHLO mail-qt0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933349AbeGJAqR (ORCPT ); Mon, 9 Jul 2018 20:46:17 -0400 Received: by mail-qt0-f195.google.com with SMTP id z8-v6so8486404qto.9 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=CwbvB7KVmdoYqb1GPTQJL57jiquzkAdoOlvZxh/xiDK8PCooZklSv90cjSqc4MprlF CQI883JXJ/tW8GTkM/qRUbnEp9WMQAMu9PwVQPcU3q7q6el4EErXotRlkPmEm+t1o2rg fp2ZC+DLxob8/hFRXwn8yoPLBelng7fhBvd3xmU2VYR9x9rRIqTbyL3tI+D3PQH+k2tG lyogIxaa76aSWYG0yz5ZDgTpGl+QMsRC13bYLqQXSzOVhWWpoNkX6iFLkXAV7Q81e2LH DdX5LaJwe3b6ZmUbv/GnjXJYy9KrO47WsZazT0o5lA11Z4cuujW0ezi2oY2q/6eQahrO tLug== X-Gm-Message-State: APt69E3td0pwSetXlof+/iPaKR8MX3ApjODN6OysbCAvX/wwpOWErjGW Z3iyA1EpM/3xtN72lxJTkzMDwg== 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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The final link of fixdep uses LDFLAGS but not the existing HOSTLDFLAGS. Fix this. Signed-off-by: Laura Abbott --- 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