From 928e068f71afed015bdf6851dad7d4f57f827ef6 Mon Sep 17 00:00:00 2001 From: hurikhan Date: Tue, 13 Jan 2015 12:54:23 +0800 Subject: [PATCH] -try fixing LLVM color diagnostic on osx --- platform/osx/detect.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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