summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libcxxabi/cmake/Modules/HandleOutOfTreeLLVM.cmake3
1 files changed, 0 insertions, 3 deletions
diff --git a/libcxxabi/cmake/Modules/HandleOutOfTreeLLVM.cmake b/libcxxabi/cmake/Modules/HandleOutOfTreeLLVM.cmake
index 3296c0c8088..4420aca2a14 100644
--- a/libcxxabi/cmake/Modules/HandleOutOfTreeLLVM.cmake
+++ b/libcxxabi/cmake/Modules/HandleOutOfTreeLLVM.cmake
@@ -93,10 +93,7 @@ macro(configure_out_of_tree_llvm)
endif()
endif()
if (LLVM_FOUND)
- # Enable warnings, otherwise -w gets added to the cflags by HandleLLVMOptions.
- set(LLVM_ENABLE_WARNINGS ON)
include(AddLLVM OPTIONAL)
- include(HandleLLVMOptions OPTIONAL)
endif()
# LLVM Options --------------------------------------------------------------
OpenPOWER on IntegriCloud