link test_ppc64_altivec against libunwind in tests/Makefile.am to fix build on ppc64

This commit is contained in:
Kyle McMartin 2014-01-20 11:48:01 -05:00
parent d436ef247f
commit 67d2b33c50
2 changed files with 16 additions and 1 deletions

View File

@ -0,0 +1,9 @@
diff -Nur libunwind-1.1/tests/Makefile.am libunwind-1.1~/tests/Makefile.am
--- libunwind-1.1/tests/Makefile.am 2014-01-20 11:26:56.229924564 -0500
+++ libunwind-1.1~/tests/Makefile.am 2014-01-20 11:25:39.318794342 -0500
@@ -189,3 +189,5 @@
Lia64_test_readonly_LDADD = $(LIBUNWIND_local)
ia64_test_dyn1_LDADD = $(LIBUNWIND)
ia64_test_sig_LDADD = $(LIBUNWIND)
+
+ppc64_test_altivec_LDADD = $(LIBUNWIND)

View File

@ -4,13 +4,14 @@
Summary: An unwinding library
Name: libunwind
Version: 1.1
Release: 3%{?dist}
Release: 4%{?dist}
License: BSD
Group: Development/Debuggers
Source: http://download.savannah.gnu.org/releases/libunwind/libunwind-%{version}.tar.gz
#Fedora specific patch
Patch1: libunwind-disable-setjmp.patch
Patch2: libunwind-aarch64.patch
Patch3: libunwind-fix-ppc64_test_altivec.patch
URL: http://savannah.nongnu.org/projects/libunwind
ExclusiveArch: %{arm} aarch64 hppa ia64 mips ppc ppc64 %{ix86} x86_64
@ -35,6 +36,7 @@ libunwind.
%setup -q
%patch1 -p1
%patch2 -p1
%patch3 -p1
%build
aclocal
@ -86,6 +88,10 @@ echo ====================TESTSUITE DISABLED=========================
%{_includedir}/libunwind*.h
%changelog
* Mon Jan 20 2014 Kyle McMartin <kmcmarti@redhat.com> 1.1-4
- Link test_ppc64_altivec against libunwind in tests/Makefile.am to fix build
on ppc64.
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild