Preps for libelf.

This commit is contained in:
Ralf Corsepius
2010-03-21 06:23:09 +00:00
parent 4196a53d12
commit 41dff1a51b
2 changed files with 8 additions and 1 deletions
+1 -1
View File
@@ -183,7 +183,7 @@ Source61: http://www.multiprecision.org/mpc/download/mpc-%{mpc_version}.tar.g
Source62: ftp://ftp.gnu.org/gnu/gmp/gmp-%{gmp_version}.tar.bz2
%endif
%if 0%{_build_libelf}
%if 0%{?_build_libelf}
Source63: http://www.mr511.de/software/libelf-%{libelf_version}.tar.gz
%endif
+7
View File
@@ -63,6 +63,13 @@ cd ..
ln -s ../gmp-%{gmp_version} gcc-%{gcc_pkgvers}/gmp
%endif
%if 0%{?_build_libelf}
%setup -q -T -D -n %{name}-%{version} -a63
%{?PATCH63:%patch63 -p1}
# Build libelf one-tree style
ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf
%endif
@PREP@
# Fix timestamps