-
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm?expand=0&rev=421
This commit is contained in:
parent
3b608cec9c
commit
f9a857bf74
@ -1,8 +1,8 @@
|
|||||||
Index: lldb-3.7.0.src/source/lldb.cpp
|
Index: lldb-3.7.0.src/source/lldb.cpp
|
||||||
===================================================================
|
===================================================================
|
||||||
--- lldb-3.7.0.src/source/lldb.cpp
|
--- lldb-3.7.0.src.orig/source/lldb.cpp
|
||||||
+++ lldb-3.7.0.src/source/lldb.cpp
|
+++ lldb-3.7.0.src/source/lldb.cpp
|
||||||
@@ -325,11 +325,7 @@ extern "C" const unsigned char liblldb_c
|
@@ -21,11 +21,7 @@ extern "C" const unsigned char liblldb_c
|
||||||
static const char *
|
static const char *
|
||||||
GetLLDBRevision()
|
GetLLDBRevision()
|
||||||
{
|
{
|
||||||
@ -16,9 +16,9 @@ Index: lldb-3.7.0.src/source/lldb.cpp
|
|||||||
static const char *
|
static const char *
|
||||||
Index: lldb-3.7.0.src/source/Core/IOHandler.cpp
|
Index: lldb-3.7.0.src/source/Core/IOHandler.cpp
|
||||||
===================================================================
|
===================================================================
|
||||||
--- lldb-3.7.0.src/source/Core/IOHandler.cpp
|
--- lldb-3.7.0.src.orig/source/Core/IOHandler.cpp
|
||||||
+++ lldb-3.7.0.src/source/Core/IOHandler.cpp
|
+++ lldb-3.7.0.src/source/Core/IOHandler.cpp
|
||||||
@@ -31,8 +31,8 @@
|
@@ -29,8 +29,8 @@
|
||||||
#include "lldb/Target/ThreadPlan.h"
|
#include "lldb/Target/ThreadPlan.h"
|
||||||
|
|
||||||
#ifndef LLDB_DISABLE_CURSES
|
#ifndef LLDB_DISABLE_CURSES
|
||||||
@ -29,3 +29,12 @@ Index: lldb-3.7.0.src/source/Core/IOHandler.cpp
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
using namespace lldb;
|
using namespace lldb;
|
||||||
|
Index: lldb-3.7.0.src/source/Host/CMakeLists.txt
|
||||||
|
===================================================================
|
||||||
|
--- lldb-3.7.0.src.orig/source/Host/CMakeLists.txt
|
||||||
|
+++ lldb-3.7.0.src/source/Host/CMakeLists.txt
|
||||||
|
@@ -134,3 +134,4 @@ else()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
add_lldb_library(lldbHost ${HOST_SOURCES})
|
||||||
|
+target_link_libraries(lldbHost dl pthread)
|
||||||
|
10
lldb.spec
10
lldb.spec
@ -96,6 +96,14 @@ ninja
|
|||||||
pushd build
|
pushd build
|
||||||
DESTDIR=%{buildroot} ninja install
|
DESTDIR=%{buildroot} ninja install
|
||||||
|
|
||||||
|
# Fix the lldb.so link
|
||||||
|
rm %{buildroot}%{py_sitedir}/lldb/_lldb.so
|
||||||
|
ln -sf %{_libdir}/liblldb.so.%{version} %{buildroot}%{py_sitedir}/lldb/_lldb.so
|
||||||
|
|
||||||
|
# Fix the lib link
|
||||||
|
rm %{buildroot}%{py_sitedir}/lib
|
||||||
|
ln -sf %{libdir} %{buildroot}%{py_sitedir}/lib
|
||||||
|
|
||||||
rm %{buildroot}%{_libdir}/liblldb*.a
|
rm %{buildroot}%{_libdir}/liblldb*.a
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%post -p /sbin/ldconfig
|
||||||
@ -105,8 +113,10 @@ rm %{buildroot}%{_libdir}/liblldb*.a
|
|||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%{_libdir}/liblldb.so.*
|
%{_libdir}/liblldb.so.*
|
||||||
|
%{_bindir}/argdumper
|
||||||
%{_bindir}/lldb*
|
%{_bindir}/lldb*
|
||||||
%{py_sitedir}/readline.so
|
%{py_sitedir}/readline.so
|
||||||
|
%{py_sitedir}/lib
|
||||||
%{py_sitedir}/lldb
|
%{py_sitedir}/lldb
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
|
Loading…
x
Reference in New Issue
Block a user