cmake.mk: set C/CXX compiler for host builds as well
authorRosen Penev <rosenp@gmail.com>
Thu, 26 Nov 2020 00:08:57 +0000 (16:08 -0800)
committerPetr Štetiar <ynezz@true.cz>
Fri, 27 Nov 2020 13:46:13 +0000 (14:46 +0100)
commitf98878e4c17d5f11e78994b4fc456e6b60b2660f
tree5ab2199e289ba0249e380da4a9a1646ca898ac9c
parent796d51834c5be85771d26e433fd509cd3bef72e3
cmake.mk: set C/CXX compiler for host builds as well

Without this, cmake will use whatever CC/CXX is set to, which could be
clang. In that case, at least libjson-c/host will fail to compile.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
include/cmake.mk