Browse Source

-try fixing LLVM color diagnostic on osx

hurikhan 10 years ago
parent
commit
928e068f71
1 changed files with 1 additions and 1 deletions
  1. 1 1
      platform/osx/detect.py

+ 1 - 1
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