kbuild: Don't mandate gcc as the host compiler
authorMark Kettenis <kettenis@openbsd.org>
Sat, 12 Jul 2025 10:45:58 +0000 (12:45 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 18 Jul 2025 18:22:24 +0000 (12:22 -0600)
commitbd0ade7d090a334b3986936d63a34001d99722ad
treec9df3e1b40bad6a00e670ebd0f402596e8c90064
parent15d99b3bf5ec76e12b5a5ccdb9b923ba87fe6dab
kbuild: Don't mandate gcc as the host compiler

Systems that use clang may not have gcc installed.  Set
HOSTCC to cc and HOSTCXX to c++ like we did before to make those
systems work again.

Fixes: 5f520875bdf0 ("kbuild: Bump the build system to 5.1")
Signed-off-by: Mark Kettenis <kettenis@openbsd.org>
Makefile