mirror of
https://src.fedoraproject.org/rpms/llvm.git
synced 2024-11-28 18:36:50 +00:00
Fix for LLDB
This commit is contained in:
parent
70d0626d0a
commit
4de979bbff
2 changed files with 26 additions and 1 deletions
20
0006-fix-python-package-installation.patch
Normal file
20
0006-fix-python-package-installation.patch
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
--- a/tools/lldb/scripts/Python/finish-swig-Python-LLDB.sh 2014-02-10 18:35:27.913085487 +0100
|
||||||
|
+++ b/tools/lldb/scripts/Python/finish-swig-Python-LLDB.sh 2014-02-10 17:54:59.359789538 +0100
|
||||||
|
@@ -118,6 +118,8 @@
|
||||||
|
echo "Python files will be put in ${framework_python_dir}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
+framework_python_dir=$DESTDIR/$framework_python_dir
|
||||||
|
+
|
||||||
|
python_dirs="${framework_python_dir}"
|
||||||
|
|
||||||
|
for python_dir in $python_dirs
|
||||||
|
@@ -157,7 +159,7 @@
|
||||||
|
then
|
||||||
|
ln -s "../../../LLDB" _lldb.so
|
||||||
|
else
|
||||||
|
- ln -s "../../../liblldb${SOEXT}" _lldb.so
|
||||||
|
+ ln -s "../../../llvm/liblldb${SOEXT}" _lldb.so
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
if [ $Debug -eq 1 ]
|
|
@ -49,7 +49,7 @@ Obsoletes: pure <= 0.55
|
||||||
|
|
||||||
Name: llvm
|
Name: llvm
|
||||||
Version: %{version_base}.2
|
Version: %{version_base}.2
|
||||||
Release: 4%{?dist}
|
Release: 5%{?dist}
|
||||||
Summary: The Low Level Virtual Machine
|
Summary: The Low Level Virtual Machine
|
||||||
|
|
||||||
Group: Development/Languages
|
Group: Development/Languages
|
||||||
|
@ -74,6 +74,7 @@ Patch2: 0002-linker-flags-speedup-memory.patch
|
||||||
Patch3: 0003-amazon-triples.patch
|
Patch3: 0003-amazon-triples.patch
|
||||||
Patch4: 0004-devtoolset.patch
|
Patch4: 0004-devtoolset.patch
|
||||||
Patch5: 0005-scan-build-dir.patch
|
Patch5: 0005-scan-build-dir.patch
|
||||||
|
Patch6: 0006-fix-python-package-installation.patch
|
||||||
|
|
||||||
BuildRequires: bison
|
BuildRequires: bison
|
||||||
BuildRequires: chrpath
|
BuildRequires: chrpath
|
||||||
|
@ -303,6 +304,7 @@ mv lldb-%{version_base} tools/lldb
|
||||||
%patch3 -p1
|
%patch3 -p1
|
||||||
%patch4 -p1
|
%patch4 -p1
|
||||||
%patch5 -p1
|
%patch5 -p1
|
||||||
|
%patch6 -p1
|
||||||
|
|
||||||
# fix library paths
|
# fix library paths
|
||||||
sed -i 's|/lib /usr/lib $lt_ld_extra|%{_libdir} $lt_ld_extra|' ./configure
|
sed -i 's|/lib /usr/lib $lt_ld_extra|%{_libdir} $lt_ld_extra|' ./configure
|
||||||
|
@ -671,6 +673,9 @@ exit 0
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jan 02 2015 Dave Johansen <davejohansen@gmail.com> 3.4.2-5
|
||||||
|
- Fix for LLDB
|
||||||
|
|
||||||
* Fri Jan 02 2015 Dave Johansen <davejohansen@gmail.com> 3.4.2-4
|
* Fri Jan 02 2015 Dave Johansen <davejohansen@gmail.com> 3.4.2-4
|
||||||
- Adding X_SCLS for turning on devtoolset use at runtime
|
- Adding X_SCLS for turning on devtoolset use at runtime
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue