how to use -f[no-]color-diagnostics clang option with ports
Anton Shterenlikht
mexas at bristol.ac.uk
Thu Feb 21 13:05:40 UTC 2013
clang colours corrupt script() output, e.g.:
#warning This file includes at least one deprecated or antiquated header. \
^[[0;1;32m ^
^[[0m1 warning generated.
^[[31m^[[1mLinking CXX executable ../../../bin/pvbatch
^[[0m[ 91%] Built target pvbatch-real
Can I use something like this
CFLAGS+= -fno-color-diagnostics
CXXFLAGS+= -fno-color-diagnostics
to suppress colour?
Thanks
Anton
More information about the freebsd-ports
mailing list