When building kernels with KERNEL_COMPILER=clang, compiler warnings were displayed without color despite -fdiagnostics-color=always being set in KCFLAGS. This GCC-native flag is not reliably honored by clang when invoked through ccache and the kernel build system with LLVM=1. Add -fcolor-diagnostics (clang's native flag) to the clang-specific extra_warnings to ensure colored warning output. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| functions | ||
| tools | ||
| library-functions.sh | ||
| single.sh | ||