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)
committerRISCi_ATOM <bob@bobcall.me>
Sun, 6 Dec 2020 06:35:13 +0000 (01:35 -0500)
commit1cb9efdb14b63ddb7946db32b617a5e7f62e6457
treebdcfe30906025e5331ab32045b65db1c128c3fc9
parentff0238574277a0077e8f15dadf50cddcf1832157
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