diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2012-05-08 18:11:06 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2012-05-08 18:11:06 +0000 |
commit | 869d817aa7215680ceb2ff976ef4f6df9ff0426b (patch) | |
tree | db9fc6487500ad73f666608b97a8f877f9180e74 /cmake | |
parent | 09ca350f95f6c1abaf342f9cc5e1d5f3c1098e52 (diff) | |
download | external_llvm-869d817aa7215680ceb2ff976ef4f6df9ff0426b.zip external_llvm-869d817aa7215680ceb2ff976ef4f6df9ff0426b.tar.gz external_llvm-869d817aa7215680ceb2ff976ef4f6df9ff0426b.tar.bz2 |
Adding -fcolor-diagnostics is causing problem to users that parse the build
output. Peter Collingbourne also reports that it is showing up in
$(llvm-config --cflags).
Revert this for now since I don't know enough cmake to fix it properly.
This reverts commit 18efed7adc79c1970f307bb5b015d199012ba872.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156392 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/modules/HandleLLVMOptions.cmake | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/cmake/modules/HandleLLVMOptions.cmake b/cmake/modules/HandleLLVMOptions.cmake index da31cc4..d10e59a 100644 --- a/cmake/modules/HandleLLVMOptions.cmake +++ b/cmake/modules/HandleLLVMOptions.cmake @@ -190,10 +190,6 @@ elseif( LLVM_COMPILER_IS_GCC_COMPATIBLE ) if( SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG ) add_llvm_definitions( -Wcovered-switch-default ) endif() - check_cxx_compiler_flag("-Werror -fcolor-diagnostics" SUPPORTS_FCOLOR_DIAGNOSTICS_FLAG) - if( SUPPORTS_FCOLOR_DIAGNOSTICS_FLAG ) - add_llvm_definitions( -fcolor-diagnostics ) - endif() endif (LLVM_ENABLE_WARNINGS) if (LLVM_ENABLE_WERROR) add_llvm_definitions( -Werror ) |