diff options
| author | hurikhan | 2015-01-12 12:54:17 +0800 |
|---|---|---|
| committer | hurikhan | 2015-01-12 12:54:17 +0800 |
| commit | f9a4e6890bf5b21ae39c12f920e11005b07df9aa (patch) | |
| tree | b120a7dac66338344123644dfacfcf64968712ca /platform/x11/detect.py | |
| parent | f3dc51fc69ec3a16c6b2a6834ff0a6d933b1ddca (diff) | |
| download | godot-f9a4e6890bf5b21ae39c12f920e11005b07df9aa.tar.gz godot-f9a4e6890bf5b21ae39c12f920e11005b07df9aa.tar.zst godot-f9a4e6890bf5b21ae39c12f920e11005b07df9aa.zip | |
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 621a0c66a..2b38099a7 100644 --- a/platform/x11/detect.py +++ b/platform/x11/detect.py @@ -81,6 +81,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"]) |
