Ismail Dönmez 2014-03-17 09:18:48 +00:00 committed by Git OBS Bridge
parent bf927b43c8
commit 1eb9a793c6

View File

@ -20,7 +20,7 @@ Name: lldb
Version: 3.4
Release: 0
Summary: The LLDB Debugger
License: LLVM
License: NCSA
Group: Development/Languages
Url: http://lldb.llvm.org/
Source: lldb-%{version}.tar.bz2
@ -33,10 +33,10 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
ExclusiveArch: arm x86_64
%description
LLDB is a next generation, high-performance debugger.
It is built as a set of reusable components which highly
leverage existing libraries in the larger LLVM Project,
such as the Clang expression parser and LLVM disassembler.
LLDB is a next generation, high-performance debugger. It is built as a set
of reusable components which highly leverage existing libraries in the
larger LLVM Project, such as the Clang expression parser and LLVM
disassembler.
%package
Summary: Next generation high-performance debugger
@ -70,18 +70,19 @@ disassembler.
%build
mkdir build
popd build
pushd build
CC=clang CXX=clang++ \
cmake -DLLDB_PATH_TO_LLVM_BUILD=%{_prefix} \
-DLLDB_PATH_TO_CLANG_BUILD=%{_prefix} ..
%cmake -DLLDB_PATH_TO_LLVM_BUILD=%{_prefix} \
-DLLDB_PATH_TO_CLANG_BUILD=%{_prefix} ..
%install
popd build
%makeinstall
pushd build
make DESTDIR=%{buildroot} install %{?_smp_mflags}
rm %{buildroot}%{_libdir}/liblldb*.a
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files