summaryrefslogtreecommitdiff
path: root/platform/x11/detect.py
diff options
context:
space:
mode:
authorAnton Yabchinskiy <arn@bestmx.ru>2015-01-17 18:27:08 +0300
committerAnton Yabchinskiy <arn@bestmx.ru>2015-01-17 18:27:08 +0300
commitfa38e9b838f32baedfca7a9250a76418b1872f5d (patch)
treec37f2d5817f5de216f1d864754063993883d6f90 /platform/x11/detect.py
parentd6998995b54fd4fed83eef9db3bbb45fa60565db (diff)
parent91faf8e21810c8995e4f6e3b6ba47a6482ab877e (diff)
Merge branch 'master' of github.com:okamstudio/godot
Diffstat (limited to 'platform/x11/detect.py')
-rw-r--r--platform/x11/detect.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/platform/x11/detect.py b/platform/x11/detect.py
index ff006849c4..6c1ca670f0 100644
--- a/platform/x11/detect.py
+++ b/platform/x11/detect.py
@@ -83,6 +83,9 @@ def configure(env):
env.extra_suffix=".llvms"
else:
env.extra_suffix=".llvm"
+ if (env["colored"]=="yes"):
+ if sys.stdout.isatty():
+ env.Append(CXXFLAGS=["-fcolor-diagnostics"])