Skip to content

build-kernel.sh: allow overriding HOSTCC

The HOSTCC variable can be used to override the compiler used when building the host tools (such as lex). Overriding this can be important if the compilation of the build tools fails with the default compiler: for example, compilation of violet kernel fails in Ubuntu 22.04 which uses gcc 11, unless gcc-9 is used as HOSTCC.

Merge request reports