summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/libgpg-error/libgpg-error/0001-configure.ac-do-not-hardcode-gnu-libc-when-generatin.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-support/libgpg-error/libgpg-error/0001-configure.ac-do-not-hardcode-gnu-libc-when-generatin.patch')
-rw-r--r--meta/recipes-support/libgpg-error/libgpg-error/0001-configure.ac-do-not-hardcode-gnu-libc-when-generatin.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/meta/recipes-support/libgpg-error/libgpg-error/0001-configure.ac-do-not-hardcode-gnu-libc-when-generatin.patch b/meta/recipes-support/libgpg-error/libgpg-error/0001-configure.ac-do-not-hardcode-gnu-libc-when-generatin.patch
new file mode 100644
index 0000000000..0f6e309391
--- /dev/null
+++ b/meta/recipes-support/libgpg-error/libgpg-error/0001-configure.ac-do-not-hardcode-gnu-libc-when-generatin.patch
@@ -0,0 +1,27 @@
1From 7437acb228678ea5d8288b930b4f5b72c3d449ed Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Mon, 24 May 2021 11:03:42 +0200
4Subject: [PATCH] configure.ac: do not hardcode gnu libc when generating
5 lock-obj
6
7This erroneously excluded e.g. musl libc.
8
9Upstream-Status: Pending
10Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
11---
12 configure.ac | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15diff --git a/configure.ac b/configure.ac
16index c0aab53..6d46d13 100644
17--- a/configure.ac
18+++ b/configure.ac
19@@ -603,7 +603,7 @@ if test x"$gl_use_threads" = xno; then
20 AC_MSG_NOTICE([generated src/lock-obj-pub.native.h for $host])
21 elif test x$cross_compiling = xyes; then
22 case $host in
23- *-*-linux-gnu*)
24+ *-*-linux-*)
25 AC_CHECK_TOOL(OBJDUMP, [objdump])
26 if test -n "$OBJDUMP"; then
27 lock_obj_h_generated=yes