forked from pool/libtool
Accepting request 241117 from Base:System
1 OBS-URL: https://build.opensuse.org/request/show/241117 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libtool?expand=0&rev=46
This commit is contained in:
commit
462eefb307
37
libtool-ppc64le.patch
Normal file
37
libtool-ppc64le.patch
Normal file
@ -0,0 +1,37 @@
|
||||
diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4
|
||||
index 56666f0..126202f 100644
|
||||
--- a/libltdl/m4/libtool.m4
|
||||
+++ b/libltdl/m4/libtool.m4
|
||||
@@ -1312,7 +1312,7 @@ ia64-*-hpux*)
|
||||
rm -rf conftest*
|
||||
;;
|
||||
|
||||
-x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
|
||||
+x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
|
||||
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
|
||||
# Find out which ABI we are using.
|
||||
echo 'int i;' > conftest.$ac_ext
|
||||
@@ -1326,7 +1326,10 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
|
||||
x86_64-*linux*)
|
||||
LD="${LD-ld} -m elf_i386"
|
||||
;;
|
||||
- ppc64-*linux*|powerpc64-*linux*)
|
||||
+ powerpc64le-*linux*)
|
||||
+ LD="${LD-ld} -m elf32lppclinux"
|
||||
+ ;;
|
||||
+ powerpc64-*linux*)
|
||||
LD="${LD-ld} -m elf32ppclinux"
|
||||
;;
|
||||
s390x-*linux*)
|
||||
@@ -1345,7 +1348,10 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
|
||||
x86_64-*linux*)
|
||||
LD="${LD-ld} -m elf_x86_64"
|
||||
;;
|
||||
- ppc*-*linux*|powerpc*-*linux*)
|
||||
+ powerpcle-*linux*)
|
||||
+ LD="${LD-ld} -m elf64lppc"
|
||||
+ ;;
|
||||
+ powerpc-*linux*)
|
||||
LD="${LD-ld} -m elf64ppc"
|
||||
;;
|
||||
s390*-*linux*|s390*-*tpf*)
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 14 15:05:03 UTC 2014 - dvaleev@suse.com
|
||||
|
||||
- Add libtool-ppc64le.patch to fix libtool-testsuite tests
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 26 16:13:31 CET 2013 - pth@suse.de
|
||||
|
||||
|
@ -48,6 +48,7 @@ Source2: baselibs.conf
|
||||
Source3: libtool-rpmlintrc
|
||||
#Patch: libtool-%%{version}.diff
|
||||
Patch1: config-guess-sub-update.patch
|
||||
Patch2: libtool-ppc64le.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Provides: libltdl-devel
|
||||
# fedora name
|
||||
@ -68,6 +69,7 @@ Library needed by programs that use the ltdl interface of GNU libtool.
|
||||
%prep
|
||||
%setup -q -n libtool-%{version}
|
||||
%patch1
|
||||
%patch2 -p1
|
||||
|
||||
%build
|
||||
./configure CFLAGS="$RPM_OPT_FLAGS" \
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 14 15:05:03 UTC 2014 - dvaleev@suse.com
|
||||
|
||||
- Add libtool-ppc64le.patch to fix libtool-testsuite tests
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 26 16:13:31 CET 2013 - pth@suse.de
|
||||
|
||||
|
@ -48,6 +48,7 @@ Source2: baselibs.conf
|
||||
Source3: libtool-rpmlintrc
|
||||
#Patch: libtool-%%{version}.diff
|
||||
Patch1: config-guess-sub-update.patch
|
||||
Patch2: libtool-ppc64le.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Provides: libltdl-devel
|
||||
# fedora name
|
||||
@ -68,6 +69,7 @@ Library needed by programs that use the ltdl interface of GNU libtool.
|
||||
%prep
|
||||
%setup -q -n libtool-%{version}
|
||||
%patch1
|
||||
%patch2 -p1
|
||||
|
||||
%build
|
||||
./configure CFLAGS="$RPM_OPT_FLAGS" \
|
||||
|
Loading…
Reference in New Issue
Block a user