diff options
author | Petr Hosek <phosek@chromium.org> | 2019-02-18 20:58:06 +0000 |
---|---|---|
committer | Petr Hosek <phosek@chromium.org> | 2019-02-18 20:58:06 +0000 |
commit | b04fe71592e14e965674679371316635d3fc013e (patch) | |
tree | bbc9df66b1f2f4e5bfedcfa4837910c488ddb89f | |
parent | 9764b65c8233c0385b7625e5176d6d7fd0de2b8c (diff) | |
download | bcm5719-llvm-b04fe71592e14e965674679371316635d3fc013e.tar.gz bcm5719-llvm-b04fe71592e14e965674679371316635d3fc013e.zip |
[libcxxabi][CMake] Drop unused HandleOutOfTreeLLVM include
This include doesn't seem to be needed for the standalone build (it's
not being used by libc++ build either), but introduces unnecessary
dependency because HandleOutOfTreeLLVM performs checks that require
a working C++ library. We shouldn't require a working C++ library to
build libc++abi or libc++ (it's what we're building after all).
Differential Revision: https://reviews.llvm.org/D58333
llvm-svn: 354284
-rw-r--r-- | libcxxabi/cmake/Modules/HandleOutOfTreeLLVM.cmake | 3 |
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 -------------------------------------------------------------- |