diff options
author | Laura Abbott <labbott@redhat.com> | 2018-07-10 02:45:56 +0200 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-07-12 17:48:17 +0200 |
commit | 6fdbd824fd7a3876aac43d32fdf1f30b9ef72ce4 (patch) | |
tree | f7f2d70ff83cc3dffa9e3da876d7245ab1b85194 /tools/build | |
parent | tools build: fix # escaping in .cmd files for future Make (diff) | |
download | linux-6fdbd824fd7a3876aac43d32fdf1f30b9ef72ce4.tar.xz linux-6fdbd824fd7a3876aac43d32fdf1f30b9ef72ce4.zip |
tools: build: Fixup host c flags
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 <labbott@redhat.com>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'tools/build')
-rw-r--r-- | tools/build/Build.include | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/build/Build.include b/tools/build/Build.include index d9048f145f97..950c1504ca37 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)) |