diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2010-03-21 06:23:09 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2010-03-21 06:23:09 +0000 |
commit | 41dff1a51bdc05ff9ae4953949f3e41f004a9e3b (patch) | |
tree | cb9167ca303960c059e9230032f9a1e093acae40 /contrib | |
parent | Add with_pygdb. (diff) | |
download | rtems-41dff1a51bdc05ff9ae4953949f3e41f004a9e3b.tar.bz2 |
Preps for libelf.
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/crossrpms/gcc/gccnewlib.add | 2 | ||||
-rw-r--r-- | contrib/crossrpms/gcc/prep.add | 7 |
2 files changed, 8 insertions, 1 deletions
diff --git a/contrib/crossrpms/gcc/gccnewlib.add b/contrib/crossrpms/gcc/gccnewlib.add index d8653e10b2..c4fc18add3 100644 --- a/contrib/crossrpms/gcc/gccnewlib.add +++ b/contrib/crossrpms/gcc/gccnewlib.add @@ -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 diff --git a/contrib/crossrpms/gcc/prep.add b/contrib/crossrpms/gcc/prep.add index 7859ffc4b3..4c6fcce64c 100644 --- a/contrib/crossrpms/gcc/prep.add +++ b/contrib/crossrpms/gcc/prep.add @@ -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 |