tools/Makefile: fix HOSTCFLAGS with CROSS_BUILD_TOOLS
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Wed, 1 May 2019 13:08:25 +0000 (15:08 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 3 May 2019 11:30:31 +0000 (07:30 -0400)
commit72c69ea8d603fd2448dd1d7c399c4f77b77773b7
tree5463693ab526f81d0cce779c136704da9ac9d8ef
parentd66f4fe982719c883e65035a3beb8dc89ea045c8
tools/Makefile: fix HOSTCFLAGS with CROSS_BUILD_TOOLS

When CROSS_BUILD_TOOLS is set, set HOSTCFLAGS to CFLAGS otherwise CC
will be used with HOSTCFLAGS which seems wrong

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
tools/Makefile