diff options
| -rw-r--r-- | llvm/runtimes/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/runtimes/CMakeLists.txt b/llvm/runtimes/CMakeLists.txt index 98f7f0c8581..113afb0cf0d 100644 --- a/llvm/runtimes/CMakeLists.txt +++ b/llvm/runtimes/CMakeLists.txt @@ -101,7 +101,7 @@ if(${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR}) # Avoid checking whether the compiler is working. set(LLVM_COMPILER_CHECKED ON) - # Mark the compiler as compatible with GCC. + # Enable warnings, otherwise -w gets added to the cflags by HandleLLVMOptions # resulting in unjustified successes by check_cxx_compiler_flag. set(LLVM_ENABLE_WARNINGS ON) |

