diff options
author | Anton Yabchinskiy <arn@bestmx.ru> | 2015-01-17 18:27:08 +0300 |
---|---|---|
committer | Anton Yabchinskiy <arn@bestmx.ru> | 2015-01-17 18:27:08 +0300 |
commit | fa38e9b838f32baedfca7a9250a76418b1872f5d (patch) | |
tree | c37f2d5817f5de216f1d864754063993883d6f90 /platform/x11/detect.py | |
parent | d6998995b54fd4fed83eef9db3bbb45fa60565db (diff) | |
parent | 91faf8e21810c8995e4f6e3b6ba47a6482ab877e (diff) |
Merge branch 'master' of github.com:okamstudio/godot
Diffstat (limited to 'platform/x11/detect.py')
-rw-r--r-- | platform/x11/detect.py | 3 |
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"]) |