summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/ltrace
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2017-07-08 06:17:43 -0700
committerMartin Jansa <Martin.Jansa@gmail.com>2017-07-14 23:44:31 +0200
commit8a542c89129e97ef933eb73c247e52eeddd8ca7e (patch)
tree04577554314db79a107ddccdd2d6b3bed4136961 /meta-oe/recipes-devtools/ltrace
parent5693b474a5014b27db5d842ebd1a690dec9ccc17 (diff)
downloadmeta-openembedded-8a542c89129e97ef933eb73c247e52eeddd8ca7e.tar.gz
ltrace: Fix build on musl
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-devtools/ltrace')
-rw-r--r--meta-oe/recipes-devtools/ltrace/ltrace/0001-configure-Recognise-linux-musl-as-a-host-OS.patch25
-rw-r--r--meta-oe/recipes-devtools/ltrace/ltrace_git.bb1
2 files changed, 26 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/ltrace/ltrace/0001-configure-Recognise-linux-musl-as-a-host-OS.patch b/meta-oe/recipes-devtools/ltrace/ltrace/0001-configure-Recognise-linux-musl-as-a-host-OS.patch
new file mode 100644
index 000000000..52264a17e
--- /dev/null
+++ b/meta-oe/recipes-devtools/ltrace/ltrace/0001-configure-Recognise-linux-musl-as-a-host-OS.patch
@@ -0,0 +1,25 @@
1From c1d3aaf5ec810c2594938438c7b4ccd20943f255 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 7 Jul 2017 10:20:52 -0700
4Subject: [PATCH] configure: Recognise linux-musl as a host OS
5
6Signed-off-by: Khem Raj <raj.khem@gmail.com>
7---
8 configure.ac | 1 +
9 1 file changed, 1 insertion(+)
10
11diff --git a/configure.ac b/configure.ac
12index 3e8667f..95d6642 100644
13--- a/configure.ac
14+++ b/configure.ac
15@@ -35,6 +35,7 @@ AC_CANONICAL_HOST
16 case "${host_os}" in
17 linux-gnu*) HOST_OS="linux-gnu" ;;
18 linux-uclibc*) HOST_OS="linux-gnu" ;;
19+ linux-musl*) HOST_OS="linux-gnu" ;;
20 *) AC_MSG_ERROR([unkown host-os ${host_os}]) ;;
21 esac
22 AC_SUBST(HOST_OS)
23--
242.13.2
25
diff --git a/meta-oe/recipes-devtools/ltrace/ltrace_git.bb b/meta-oe/recipes-devtools/ltrace/ltrace_git.bb
index b613bc3af..01b3bbe1b 100644
--- a/meta-oe/recipes-devtools/ltrace/ltrace_git.bb
+++ b/meta-oe/recipes-devtools/ltrace/ltrace_git.bb
@@ -23,6 +23,7 @@ SRC_URI = "git://anonscm.debian.org/collab-maint/ltrace.git;branch=master \
23 file://0001-ARM-code-has-unreachable-code-after-switch-statement.patch \ 23 file://0001-ARM-code-has-unreachable-code-after-switch-statement.patch \
24 file://0001-Fix-tautological-compare-warning.patch \ 24 file://0001-Fix-tautological-compare-warning.patch \
25 file://0001-Add-support-for-mips64-n32-n64.patch \ 25 file://0001-Add-support-for-mips64-n32-n64.patch \
26 file://0001-configure-Recognise-linux-musl-as-a-host-OS.patch \
26 " 27 "
27S = "${WORKDIR}/git" 28S = "${WORKDIR}/git"
28 29