build src with colored output?
Johannes Lundberg
johalun0 at gmail.com
Tue May 16 06:42:17 UTC 2017
Gonna answer myself here. Think I found a way.
Add CFLAGS=-fcolor-diagnostics to env or /etc/src.conf
Do clean build, that is no -DNO_CLEAN,KERNFAST, etc.
Makes it a lot easier to find the errors in a 16 threads build output...
The mystery still remains though, why is color disabled for parallel
builds?
On Tue, May 16, 2017 at 8:03 AM, Johannes Lundberg <johalun0 at gmail.com>
wrote:
> Hi
>
> I'm sure this has been discussed but my Google-fu couldn't find me any
> information..
>
> I get colored output when building kernel with a single thread, however,
> for -j > 1 colored output is disabled.
>
> Anyone know what's the reason for this?
>
> /Johannes
>
>
More information about the freebsd-current
mailing list