Received: by 2002:ac0:a591:0:0:0:0:0 with SMTP id m17-v6csp1481614imm; Sun, 8 Jul 2018 04:01:30 -0700 (PDT) X-Google-Smtp-Source: AAOMgpezRylOoORCX5GXn3ZHbHta6qinfHd0ptP1oPlMrPNDU6i6fk9rzBj+fQT4a5b13aRIIHfe X-Received: by 2002:a17:902:1566:: with SMTP id b35-v6mr16808423plh.107.1531047690536; Sun, 08 Jul 2018 04:01:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531047690; cv=none; d=google.com; s=arc-20160816; b=afaV+02kHk0aQeEr56l6+gnwSS+H278aQOy0nL90DAM/WtTMctXvsI0N1NpVNlHQMu aPguMF/LdkI0KM768FtC5NWqSwG6a2OCDMtYUdyQKhyMhNkQ8/Q0RmCkg7WDHmA0C9ig 5o71eXUBG/y3Zkj7q54tKHmeFdizmLkpAeptAlvTPey3HnMTRIfL/d83/1EPVt4sWSzl ZxqPfaQOjPz1TN5KrbdZD6mUfUBDuxuyka7RXOuo9O0GBH6t0zcD91ohVb/fk7ICUESb nWfKSns6Czn964/7zy6IzYSL1pQ+UGcRJZJDcX4R3HeJoEQpy72z5ZkiPcM7tuYgY1hJ Ss0g== 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=FiULxAaLP9Vk6PcLTTx1IeXKtvGfCIqoeCIkHvAujHQ=; b=HV6KxrTcLlE3QmelZ8qsMRkxeYkmGGyTBJhpaydmHiIsR7PEmZ/0vumfopo+hiitnN b0oP3BuwUEKRcKMp9mJZND3lQ+K4RBcvuB/ooSHBh2CHVweRqBn3UNm4c+P8WWnxsQkr QhOqO2M36rad9Iw0LlrJWPqxyyAmKNZ1IE+7txa6Dqj7+PgvMuiSRJxHnXVeQKvRnlkV U1wPHIzgSR5VAD5laH6OIhP4nWSH3prINGwMci64jb755Q0cm51mBvovS30FU6UcTuQF xJ7GQ6WdW4cmdU143uxflguwjkPnsHYvelg8Xd/TzYaRVMSZJ0FxoK1iSWcMqQ7W+ygw 1CFw== 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 k8-v6si12807979pfg.42.2018.07.08.04.01.14; Sun, 08 Jul 2018 04:01:30 -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 S932839AbeGHK7x (ORCPT + 99 others); Sun, 8 Jul 2018 06:59:53 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:36182 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932757AbeGHK7w (ORCPT ); Sun, 8 Jul 2018 06:59:52 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 5FDEB77888; Sun, 8 Jul 2018 10:59:51 +0000 (UTC) Received: from krava (ovpn-204-62.brq.redhat.com [10.40.204.62]) by smtp.corp.redhat.com (Postfix) with SMTP id 9C4392026D65; Sun, 8 Jul 2018 10:59:49 +0000 (UTC) Date: Sun, 8 Jul 2018 12:59:48 +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: [PATCH 1/7] tools: build: Fixup host c flags Message-ID: <20180708105948.GB29861@krava> References: <20180707010709.16648-1-labbott@redhat.com> <20180707010709.16648-2-labbott@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180707010709.16648-2-labbott@redhat.com> User-Agent: Mutt/1.10.0 (2018-05-17) X-Scanned-By: MIMEDefang 2.78 on 10.11.54.4 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.1]); Sun, 08 Jul 2018 10:59:51 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.1]); Sun, 08 Jul 2018 10:59:51 +0000 (UTC) for IP:'10.11.54.4' DOMAIN:'int-mx04.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 Fri, Jul 06, 2018 at 06:07:03PM -0700, Laura Abbott wrote: > 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. ugh, thanks for finding this.. I think/hope it's typo ;-) please also change the only perf user of this: tools/perf/pmu-events/Build:CHOSTFLAGS_jevents.o = -I$(srctree)/tools/include jirka > --- > 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)) > -- > 2.17.1 >