mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-26 07:37:14 +00:00
ltrace: Fix build on musl
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
+25
@@ -0,0 +1,25 @@
|
|||||||
|
From c1d3aaf5ec810c2594938438c7b4ccd20943f255 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Khem Raj <raj.khem@gmail.com>
|
||||||
|
Date: Fri, 7 Jul 2017 10:20:52 -0700
|
||||||
|
Subject: [PATCH] configure: Recognise linux-musl as a host OS
|
||||||
|
|
||||||
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||||
|
---
|
||||||
|
configure.ac | 1 +
|
||||||
|
1 file changed, 1 insertion(+)
|
||||||
|
|
||||||
|
diff --git a/configure.ac b/configure.ac
|
||||||
|
index 3e8667f..95d6642 100644
|
||||||
|
--- a/configure.ac
|
||||||
|
+++ b/configure.ac
|
||||||
|
@@ -35,6 +35,7 @@ AC_CANONICAL_HOST
|
||||||
|
case "${host_os}" in
|
||||||
|
linux-gnu*) HOST_OS="linux-gnu" ;;
|
||||||
|
linux-uclibc*) HOST_OS="linux-gnu" ;;
|
||||||
|
+ linux-musl*) HOST_OS="linux-gnu" ;;
|
||||||
|
*) AC_MSG_ERROR([unkown host-os ${host_os}]) ;;
|
||||||
|
esac
|
||||||
|
AC_SUBST(HOST_OS)
|
||||||
|
--
|
||||||
|
2.13.2
|
||||||
|
|
||||||
@@ -23,6 +23,7 @@ SRC_URI = "git://anonscm.debian.org/collab-maint/ltrace.git;branch=master \
|
|||||||
file://0001-ARM-code-has-unreachable-code-after-switch-statement.patch \
|
file://0001-ARM-code-has-unreachable-code-after-switch-statement.patch \
|
||||||
file://0001-Fix-tautological-compare-warning.patch \
|
file://0001-Fix-tautological-compare-warning.patch \
|
||||||
file://0001-Add-support-for-mips64-n32-n64.patch \
|
file://0001-Add-support-for-mips64-n32-n64.patch \
|
||||||
|
file://0001-configure-Recognise-linux-musl-as-a-host-OS.patch \
|
||||||
"
|
"
|
||||||
S = "${WORKDIR}/git"
|
S = "${WORKDIR}/git"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user