libunwind: add ppc64 support
[openwrt/staging/chunkeey.git] / package / libs / libunwind / patches / 001-Don-t-force-exec_prefix-lib64-libdir-on-ppc64.patch
1 From 0af7e7a53480ce8e1cf6cfb4e9fe071c1185ef31 Mon Sep 17 00:00:00 2001
2 From: Matthias Diener <matthias.diener@gmail.com>
3 Date: Fri, 2 Jul 2021 12:36:10 -0500
4 Subject: [PATCH] Don't force {exec_prefix}/lib64 libdir on ppc64
5
6 ---
7 configure.ac | 6 ------
8 1 file changed, 6 deletions(-)
9
10 diff --git a/configure.ac b/configure.ac
11 index 9fadc163..0dec4ca6 100644
12 --- a/configure.ac
13 +++ b/configure.ac
14 @@ -215,12 +215,6 @@ fi
15 AM_CONDITIONAL(USE_DWARF, [test x$use_dwarf = xyes])
16 AC_MSG_RESULT([$use_dwarf])
17
18 -if test x$target_arch = xppc64; then
19 - libdir='${exec_prefix}/lib64'
20 - AC_MSG_NOTICE([PowerPC64 detected, lib will be installed ${libdir}]);
21 - AC_SUBST([libdir])
22 -fi
23 -
24 AC_MSG_CHECKING([whether to restrict build to remote support])
25 if test x$target_arch != x$host_arch; then
26 CPPFLAGS="${CPPFLAGS} -DUNW_REMOTE_ONLY"
27 --
28 2.32.0
29