summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorBłażej Szczygieł <spaz16@wp.pl>2016-10-17 21:04:13 +0200
committerBłażej Szczygieł <spaz16@wp.pl>2016-10-17 22:40:14 +0200
commit2bf4553fe056c1fab5367dfae62426d3c7cf8168 (patch)
tree105c7de072427ffad00511abb8a82d3b3ac7c4c5 /platform
parente96c49f849fd9c5e41c8284c7122ec94909badac (diff)
SCons: Use colored output if available, change "colored"->"verbose"
Diffstat (limited to 'platform')
-rw-r--r--platform/osx/detect.py3
-rw-r--r--platform/server/detect.py3
-rw-r--r--platform/x11/detect.py4
3 files changed, 0 insertions, 10 deletions
diff --git a/platform/osx/detect.py b/platform/osx/detect.py
index f8b2153aee..4e772e37eb 100644
--- a/platform/osx/detect.py
+++ b/platform/osx/detect.py
@@ -91,9 +91,6 @@ def configure(env):
env.Append(CPPFLAGS=['-DTYPED_METHOD_BIND'])
env["CC"]="clang"
env["LD"]="clang++"
- if (env["colored"]=="yes"):
- if sys.stdout.isatty():
- env.Append(CPPFLAGS=["-fcolor-diagnostics"])
import methods
diff --git a/platform/server/detect.py b/platform/server/detect.py
index 2f6fb00e0d..ce14100fd0 100644
--- a/platform/server/detect.py
+++ b/platform/server/detect.py
@@ -38,9 +38,6 @@ def configure(env):
env["CC"]="clang"
env["CXX"]="clang++"
env["LD"]="clang++"
- if (env["colored"]=="yes"):
- if sys.stdout.isatty():
- env.Append(CXXFLAGS=["-fcolor-diagnostics"])
is64=sys.maxsize > 2**32
diff --git a/platform/x11/detect.py b/platform/x11/detect.py
index eb71ac7409..917a8a27d7 100644
--- a/platform/x11/detect.py
+++ b/platform/x11/detect.py
@@ -94,10 +94,6 @@ def configure(env):
env.Append(CPPFLAGS=['-DTYPED_METHOD_BIND'])
env.extra_suffix=".llvm"
- if (env["colored"]=="yes"):
- if sys.stdout.isatty():
- env.Append(CXXFLAGS=["-fcolor-diagnostics"])
-
if (env["use_sanitizer"]=="yes"):
env.Append(CXXFLAGS=['-fsanitize=address','-fno-omit-frame-pointer'])
env.Append(LINKFLAGS=['-fsanitize=address'])