diff --git a/platform/osx/detect.py b/platform/osx/detect.py index 08784be8105..5703cbc5465 100644 --- a/platform/osx/detect.py +++ b/platform/osx/detect.py @@ -86,7 +86,7 @@ def configure(env): env["LD"]="clang++" if (env["colored"]=="yes"): if sys.stdout.isatty(): - env.Append(CXXFLAGS=["-fcolor-diagnostics"]) + env.Append(CPPFLAGS=["-fcolor-diagnostics"]) import methods