forked from openwrt/openwrt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Backport an upstream patch to make libunwind build on ppc64, and add powerpc64 to the dependencies. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be> Acked-by: Rui Salvaterra <rsalvaterra@gmail.com>
- Loading branch information
Showing
2 changed files
with
31 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
package/libs/libunwind/patches/001-Don-t-force-exec_prefix-lib64-libdir-on-ppc64.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
From 0af7e7a53480ce8e1cf6cfb4e9fe071c1185ef31 Mon Sep 17 00:00:00 2001 | ||
From: Matthias Diener <matthias.diener@gmail.com> | ||
Date: Fri, 2 Jul 2021 12:36:10 -0500 | ||
Subject: [PATCH] Don't force {exec_prefix}/lib64 libdir on ppc64 | ||
|
||
--- | ||
configure.ac | 6 ------ | ||
1 file changed, 6 deletions(-) | ||
|
||
diff --git a/configure.ac b/configure.ac | ||
index 9fadc163..0dec4ca6 100644 | ||
--- a/configure.ac | ||
+++ b/configure.ac | ||
@@ -215,12 +215,6 @@ fi | ||
AM_CONDITIONAL(USE_DWARF, [test x$use_dwarf = xyes]) | ||
AC_MSG_RESULT([$use_dwarf]) | ||
|
||
-if test x$target_arch = xppc64; then | ||
- libdir='${exec_prefix}/lib64' | ||
- AC_MSG_NOTICE([PowerPC64 detected, lib will be installed ${libdir}]); | ||
- AC_SUBST([libdir]) | ||
-fi | ||
- | ||
AC_MSG_CHECKING([whether to restrict build to remote support]) | ||
if test x$target_arch != x$host_arch; then | ||
CPPFLAGS="${CPPFLAGS} -DUNW_REMOTE_ONLY" | ||
-- | ||
2.32.0 | ||
|