armbian-build/lib/functions
Igor Velkov b7bc3a770d clang: enable colored diagnostic output for kernel compilation
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>
2026-01-31 17:12:25 +01:00
..
artifacts artifact-uboot: hash ATFSOURCE 2026-01-15 20:17:43 +01:00
bsp chore: update copyright years to 2026 2025-12-25 12:03:34 +01:00
cli chore: update copyright years to 2026 2025-12-25 12:03:34 +01:00
compilation clang: enable colored diagnostic output for kernel compilation 2026-01-31 17:12:25 +01:00
configuration change-tracking: also track UBOOT_COMPILER & KERNEL_COMPILER 2026-01-21 01:39:50 +01:00
general memoize: add user feedback and configurable timeout for flock 2026-01-21 01:40:21 +01:00
host "get completely rid of dead code toolchain stuff", pt2 2026-01-14 20:08:21 +01:00
image chore: update copyright years to 2026 2025-12-25 12:03:34 +01:00
logging Framework: Add "Repeat Build Options" string at the end in case of error or break 2026-01-21 01:39:23 +01:00
main chore: update copyright years to 2026 2025-12-25 12:03:34 +01:00
rootfs rootfs: enable loong64 in qemu binfmt registration 2026-01-22 14:32:05 +01:00