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>
Sat, 5 Dec 2020 19:50:19 +0000 (20:50 +0100)
commit77734ce82a8fdc88b88cb1244d6e2f54eeb773b0
tree6ecea919747e1edabd38876e28fbf1072935b2e2
parentebe8cc2b2ae58fc90c3fb4a329a01721eb462a59
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>
(cherry picked from commit f98878e4c17d5f11e78994b4fc456e6b60b2660f)
include/cmake.mk