Closed heitbaum closed 2 years ago
This change is fine, and I plan to merge it regardless, but the description is not strictly accurate. While BUILDCC
is not taken from an environment variable, it can already be overridden on the make
command line, like LibreELEC does with HOSTCC
for Linux and for U-Boot. I wonder if that is a satisfactory solution?
Purpose
Allow BUILDCC to be overridden, as crust build fails when cc is missing (e.g. minimal Ubuntu 20.04)
Considerations for reviewers
Issue identified in LibreELEC builds with the minimal focal 20.04 docker.
cc
is not available. Patch currently in place - https://github.com/LibreELEC/LibreELEC.tv/pull/5953 - but better solution is to allowBUILDCC
to be overridden and use the toolchain compiler (not the Operating System suppliedcc
compiler.)Error log