瀏覽代碼

-try fixing LLVM color diagnostic on osx

hurikhan 10 年之前
父節點
當前提交
928e068f71
共有 1 個文件被更改,包括 1 次插入1 次删除
  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