Index: libcxxabi/trunk/cmake/Modules/HandleOutOfTreeLLVM.cmake =================================================================== --- libcxxabi/trunk/cmake/Modules/HandleOutOfTreeLLVM.cmake +++ libcxxabi/trunk/cmake/Modules/HandleOutOfTreeLLVM.cmake @@ -93,10 +93,7 @@ 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 --------------------------------------------------------------