aboutsummaryrefslogtreecommitdiff
path: root/platform/x11/detect.py
diff options
context:
space:
mode:
authorhurikhan2015-01-17 22:19:57 +0900
committerhurikhan2015-01-17 22:19:57 +0900
commitdee27ce9919889120a15f10ac30611b3994c91c9 (patch)
tree20f14ecabd38e43e7ef5db1f1000a7051884cc8d /platform/x11/detect.py
parentf1dc00e380439078c93d00af2f85d138a9400b2e (diff)
parent91faf8e21810c8995e4f6e3b6ba47a6482ab877e (diff)
downloadgodot-dee27ce9919889120a15f10ac30611b3994c91c9.tar.gz
godot-dee27ce9919889120a15f10ac30611b3994c91c9.tar.zst
godot-dee27ce9919889120a15f10ac30611b3994c91c9.zip
Merge remote-tracking branch 'upstream/master' into x11-window-management
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 773928c72..6adba510e 100644
--- a/platform/x11/detect.py
+++ b/platform/x11/detect.py
@@ -88,6 +88,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"])