[packages/llvm] fix build without lldb

atler atler at pld-linux.org
Fri May 28 11:40:41 CEST 2021


commit 406426c94005c19ad2e7e9c671cbdf37bc129d11
Author: Jan Palus <atler at pld-linux.org>
Date:   Fri May 28 11:39:55 2021 +0200

    fix build without lldb

 llvm.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/llvm.spec b/llvm.spec
index 5cb47e2..d19853a 100644
--- a/llvm.spec
+++ b/llvm.spec
@@ -708,7 +708,7 @@ done
 # not this OS
 %{__rm} $RPM_BUILD_ROOT%{_datadir}/clang/clang-format-bbedit.applescript
 # use system six
-%{__rm} $RPM_BUILD_ROOT%{py3_sitedir}/{,__pycache__/}six*.py*
+%{?with_lldb:%{__rm} $RPM_BUILD_ROOT%{py3_sitedir}/{,__pycache__/}six*.py*}
 # it seems it is used internally by an extra clang tool
 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libfindAllSymbols.a
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/llvm.git/commitdiff/406426c94005c19ad2e7e9c671cbdf37bc129d11



More information about the pld-cvs-commit mailing list