-try fixing LLVM color diagnostic on osx

This commit is contained in:
hurikhan 2015-01-13 12:54:23 +08:00
parent 067a0d0e64
commit 928e068f71

View file

@ -86,7 +86,7 @@ def configure(env):
env["LD"]="clang++" env["LD"]="clang++"
if (env["colored"]=="yes"): if (env["colored"]=="yes"):
if sys.stdout.isatty(): if sys.stdout.isatty():
env.Append(CXXFLAGS=["-fcolor-diagnostics"]) env.Append(CPPFLAGS=["-fcolor-diagnostics"])
import methods import methods