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