File llvm-build-tests-with-rtti.patch of Package llvm7

References: bnc#1087136

LLVM is built with RTTI, so the tests should too. Mixing the two can lead to
crashes.

Index: llvm-6.0.0.src/cmake/modules/AddLLVM.cmake
===================================================================
--- llvm-6.0.0.src.orig/cmake/modules/AddLLVM.cmake
+++ llvm-6.0.0.src/cmake/modules/AddLLVM.cmake
@@ -1093,8 +1093,6 @@ function(add_unittest test_suite test_na
     list(APPEND LLVM_COMPILE_FLAGS "-Wno-gnu-zero-variadic-macro-arguments")
   endif()
 
-  set(LLVM_REQUIRES_RTTI OFF)
-
   list(APPEND LLVM_LINK_COMPONENTS Support) # gtest needs it for raw_ostream
   add_llvm_executable(${test_name} IGNORE_EXTERNALIZE_DEBUGINFO NO_INSTALL_RPATH ${ARGN})
   set(outdir ${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR})