LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File bcc-bsc1065593-llvm4-hack.patch of Package bcc (Project home:ndas:branches:Base:System)

Index: bcc-0.5.0/cmake/clang_libs.cmake
===================================================================
--- bcc-0.5.0.orig/cmake/clang_libs.cmake
+++ bcc-0.5.0/cmake/clang_libs.cmake
@@ -12,8 +12,9 @@ if (${LLVM_PACKAGE_VERSION} VERSION_GREA
   list(APPEND llvm_raw_libs bpfasmparser)
   list(APPEND llvm_raw_libs bpfdisassembler)
 endif()
-llvm_map_components_to_libnames(_llvm_libs ${llvm_raw_libs})
-llvm_expand_dependencies(llvm_libs ${_llvm_libs})
+#llvm_map_components_to_libnames(_llvm_libs ${llvm_raw_libs})
+#llvm_expand_dependencies(llvm_libs ${_llvm_libs})
+set(llvm_libs LLVM)
 
 # order is important
 set(clang_libs