Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | Fix test case link failure on PowerPC systems with Altivec |
| 2 | |
| 3 | Upstream-Status:backport |
| 4 | |
| 5 | On systems where the system compiler supports Altivec by default, |
| 6 | the libunwind Makefile will attempt to build an extra test case |
| 7 | ppc64-test-altivec. Unfortunately, the link step will fail since |
| 8 | the Makefile does not actually link against the libunwind library. |
| 9 | |
| 10 | Fixed by adding the appropriate LDADD macro. |
| 11 | |
| 12 | Signed-off-by: Ulrich Weigand <address@hidden> |
| 13 | --- |
| 14 | tests/Makefile.am | 1 + |
| 15 | 1 file changed, 1 insertion(+) |
| 16 | |
| 17 | diff --git a/tests/Makefile.am b/tests/Makefile.am |
| 18 | index 0e30536..9c76628 100644 |
| 19 | --- a/tests/Makefile.am |
| 20 | +++ b/tests/Makefile.am |
| 21 | @@ -201,3 +201,4 @@ Lia64_test_rbs_LDADD = $(LIBUNWIND_local) |
| 22 | Lia64_test_readonly_LDADD = $(LIBUNWIND_local) |
| 23 | ia64_test_dyn1_LDADD = $(LIBUNWIND) |
| 24 | ia64_test_sig_LDADD = $(LIBUNWIND) |
| 25 | +ppc64_test_altivec_LDADD = $(LIBUNWIND) |
| 26 | -- |
| 27 | 1.8.5 |
| 28 | |