[packages/llvm] - fix building without lldb

hawk hawk at pld-linux.org
Fri Jul 14 11:09:12 CEST 2023


commit 76a62f5e02ddb4e324551f9a6d621698fa90b7b9
Author: Marcin Krol <hawk at tld-linux.org>
Date:   Fri Jul 14 11:08:48 2023 +0200

    - fix building without lldb

 llvm.spec | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/llvm.spec b/llvm.spec
index 15f8a4c..c564d21 100644
--- a/llvm.spec
+++ b/llvm.spec
@@ -817,6 +817,7 @@ fi
 %{__make} -C tools/clang/docs docs-clang-html
 %{__make} -C tools/clang/docs docs-clang-man
 %{__make} -C tools/lld/docs docs-lld-html
+%if %{with lldb}
 # workaround failed import of _lldb
 cp -pnL %{_lib}/liblldb.so tools/lldb/docs/lldb/_lldb.so
 %{__make} \
@@ -824,6 +825,7 @@ cp -pnL %{_lib}/liblldb.so tools/lldb/docs/lldb/_lldb.so
 	-C tools/lldb/docs lldb-python-doc-package
 %{__make} -C tools/lldb/docs lldb-cpp-doc
 %endif
+%endif
 
 %install
 rm -rf $RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/llvm.git/commitdiff/76a62f5e02ddb4e324551f9a6d621698fa90b7b9



More information about the pld-cvs-commit mailing list