diff options
Diffstat (limited to 'meta/recipes-support/libunwind/libunwind/0001-configure-Do-not-enforce-libdir-for-ppc64.patch')
-rw-r--r-- | meta/recipes-support/libunwind/libunwind/0001-configure-Do-not-enforce-libdir-for-ppc64.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/meta/recipes-support/libunwind/libunwind/0001-configure-Do-not-enforce-libdir-for-ppc64.patch b/meta/recipes-support/libunwind/libunwind/0001-configure-Do-not-enforce-libdir-for-ppc64.patch new file mode 100644 index 0000000000..751f1b3404 --- /dev/null +++ b/meta/recipes-support/libunwind/libunwind/0001-configure-Do-not-enforce-libdir-for-ppc64.patch | |||
@@ -0,0 +1,35 @@ | |||
1 | From 154c7465de2aeb9a8ba3416bbed6e6e07f58c583 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Thu, 11 Mar 2021 21:52:28 -0800 | ||
4 | Subject: [PATCH] configure: Do not enforce libdir for ppc64 | ||
5 | |||
6 | OE has its own multilib configuration, therefore hardcoding libdir | ||
7 | breaks that, instead respect the settings coming from build environment | ||
8 | via configure options. | ||
9 | |||
10 | Upstream-Status: Pending | ||
11 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
12 | --- | ||
13 | configure.ac | 6 ------ | ||
14 | 1 file changed, 6 deletions(-) | ||
15 | |||
16 | diff --git a/configure.ac b/configure.ac | ||
17 | index c8d68f7..254440f 100644 | ||
18 | --- a/configure.ac | ||
19 | +++ b/configure.ac | ||
20 | @@ -206,12 +206,6 @@ fi | ||
21 | AM_CONDITIONAL(USE_DWARF, [test x$use_dwarf = xyes]) | ||
22 | AC_MSG_RESULT([$use_dwarf]) | ||
23 | |||
24 | -if test x$target_arch = xppc64; then | ||
25 | - libdir='${exec_prefix}/lib64' | ||
26 | - AC_MSG_NOTICE([PowerPC64 detected, lib will be installed ${libdir}]); | ||
27 | - AC_SUBST([libdir]) | ||
28 | -fi | ||
29 | - | ||
30 | AC_MSG_CHECKING([whether to restrict build to remote support]) | ||
31 | if test x$target_arch != x$host_arch; then | ||
32 | CPPFLAGS="${CPPFLAGS} -DUNW_REMOTE_ONLY" | ||
33 | -- | ||
34 | 2.30.2 | ||
35 | |||