Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Feb 2013 12:49:30 GMT
From:      Anton Shterenlikht <mexas@bristol.ac.uk>
To:        freebsd-ports@freebsd.org
Subject:   how to use -f[no-]color-diagnostics clang option with ports
Message-ID:  <201302211249.r1LCnU53052785@mech-cluster241.men.bris.ac.uk>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201302211249.r1LCnU53052785>