From patchwork Sat Jul 7 01:07:03 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laura Abbott X-Patchwork-Id: 10512677 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 EDDFA60532 for ; Sat, 7 Jul 2018 01:09:00 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E4C98287EF for ; Sat, 7 Jul 2018 01:09:00 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D956C2883B; Sat, 7 Jul 2018 01:09:00 +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 8B8AE287EF for ; Sat, 7 Jul 2018 01:09:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754156AbeGGBH2 (ORCPT ); Fri, 6 Jul 2018 21:07:28 -0400 Received: from mail-qt0-f194.google.com ([209.85.216.194]:41764 "EHLO mail-qt0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754111AbeGGBH0 (ORCPT ); Fri, 6 Jul 2018 21:07:26 -0400 Received: by mail-qt0-f194.google.com with SMTP id y20-v6so11402447qto.8 for ; Fri, 06 Jul 2018 18:07:26 -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=63m2DSry2Zy3gaTy7mxFX4kt/SfYSz+zIiPxtpmcTw4=; b=IQltIkWTO8chDCa0F+qvO+P4S1ZVbQttPap54yHLpRcxEHsDlNrWQireRIEkjp9Kkx AFZtwyxG1H3cQOUn1LjoPNvTJbGHjPod0M5n7QNEbSUMdb7wQogw57t52Vo7NXz9we9z AdxxAG8RZ6ZriqDVSgitOVTcXpQb5sLMnoEnjIBQbV7t5yoX2pCSQfIhAm5m6qwT6afy uVxjbHXaQazT6KxqVDuaoZnyaXXl2g/hwdPCPmDLLGxpl5JbErNDjAflH28lHMgKkhV+ lcF8iudIVGl5PXzCcchwnJXOH6dBHizT4eXu0ed0dKy+gHJFBYnQm8RjGEQHsN7x3CEc mHNw== X-Gm-Message-State: APt69E0vQ6QatAaU02ZWtaE/MUDFiu3at//8+nN1tOvzKqHMNwyiuI2y PRbmOCHLQRvTOplABz9vzZAkUQ== X-Google-Smtp-Source: AAOMgpeWoETL2Bp8FNWxBoGUmNlvB+fXVV++xcI95guMPPuvjeXk96br5oq1Lrbj0QLID8yy9FAtAg== X-Received: by 2002:ac8:2d94:: with SMTP id p20-v6mr11722069qta.338.1530925646272; Fri, 06 Jul 2018 18:07:26 -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.24 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 06 Jul 2018 18:07:25 -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 1/7] tools: build: Fixup host c flags Date: Fri, 6 Jul 2018 18:07:03 -0700 Message-Id: <20180707010709.16648-2-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 Commit 0c3b7e42616f ("tools build: Add support for host programs format") introduced host_c_flags which referenced CHOSTFLAGS. The actual name of the variable is HOSTCFLAGS. Fix this up. Fixes: 0c3b7e42616f ("tools build: Add support for host programs format") Signed-off-by: Laura Abbott --- This seemed like a typo to the best of my understanding and certain things wouldn't link properly until this was fixed. --- tools/build/Build.include | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/build/Build.include b/tools/build/Build.include index a4bbb984941d..b5c679cd441c 100644 --- a/tools/build/Build.include +++ b/tools/build/Build.include @@ -98,4 +98,4 @@ cxx_flags = -Wp,-MD,$(depfile) -Wp,-MT,$@ $(CXXFLAGS) -D"BUILD_STR(s)=\#s" $(CXX ### ## HOSTCC C flags -host_c_flags = -Wp,-MD,$(depfile) -Wp,-MT,$@ $(CHOSTFLAGS) -D"BUILD_STR(s)=\#s" $(CHOSTFLAGS_$(basetarget).o) $(CHOSTFLAGS_$(obj)) +host_c_flags = -Wp,-MD,$(depfile) -Wp,-MT,$@ $(HOSTCFLAGS) -D"BUILD_STR(s)=\#s" $(HOSTCFLAGS_$(basetarget).o) $(HOSTCFLAGS_$(obj))