When compiler results are piped through a non-terminal (e.g. ninja) the compiler disables colour diagnostics. Using `-fdiagnostics-color` forces the compiler to enable colour output. This flag is set for clang and gcc when `ZEPHYR_BUILD_COLOUR_DIAGNOSTIC` environment variable is set when a clean build is started. Signed-off-by: Arvin Farahmand <arvinf@ip-logix.com> |
||
|---|---|---|
| .. | ||
| arcmwdt | ||
| clang | ||
| gcc | ||
| host-gcc | ||
| icx | ||
| xcc | ||
| compiler_flags_template.cmake | ||