m4: fix powerpcle patch

Thanks to Brent Baude; I backported the fix badly before.

Version: 2.4.2-22
This commit is contained in:
Pavel Raiskup 2013-10-23 10:51:05 +02:00
parent 3f58a9eaa8
commit dfc43d7286
2 changed files with 7 additions and 4 deletions

View File

@ -16,10 +16,10 @@ index 56666f0..126202f 100644
LD="${LD-ld} -m elf_i386"
;;
- ppc64-*linux*|powerpc64-*linux*)
+ powerpcle-*linux*)
+ powerpc64le-*linux*)
+ LD="${LD-ld} -m elf32lppclinux"
+ ;;
+ powerpc-*linux*)
+ powerpc64-*linux*)
LD="${LD-ld} -m elf32ppclinux"
;;
s390x-*linux*)

View File

@ -3,7 +3,7 @@
Summary: The GNU Portable Library Tool
Name: libtool
Version: 2.4.2
Release: 21%{?dist}
Release: 22%{?dist}
License: GPLv2+ and LGPLv2+ and GFDL
URL: http://www.gnu.org/software/libtool/
Group: Development/Tools
@ -19,7 +19,7 @@ Patch2: libtool-2.4.2-tar-no-owner.patch
# powerpc*le-linux support
# ~> upstream
# ~> git diff c37bc1a3..bd998a7e
# ~> `git diff c37bc1a3..8a8dfaec m4/libtool.m4`
Patch3: libtool-2.4.2-powerpcle-linux.patch
Requires(post): /sbin/install-info
@ -165,6 +165,9 @@ fi
%{_libdir}/libltdl.so
%changelog
* Wed Oct 23 2013 Pavel Raiskup <praiskup@redhat.com> - 2.4.2-22
- fix powerpcle patch to reflect what is really in upstream
* Thu Oct 17 2013 Jakub Jelinek <jakub@redhat.com> - 2.4.2-21
- rebuilt for gcc 4.8.2