From 7b404fd996285ac27eef7fb2b6ab03ea5a8e6f60 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 16 Oct 2017 21:26:40 -0700 Subject: gperftools: Fix build on musl/mips Signed-off-by: Khem Raj Signed-off-by: Martin Jansa (cherry picked from commit 738bea45bc51d9a78a3d46ee8c18390427ccd547) Signed-off-by: Armin Kuster --- .../recipes-support/gperftools/gperftools/sgidef.patch | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 meta-oe/recipes-support/gperftools/gperftools/sgidef.patch (limited to 'meta-oe/recipes-support/gperftools/gperftools/sgidef.patch') diff --git a/meta-oe/recipes-support/gperftools/gperftools/sgidef.patch b/meta-oe/recipes-support/gperftools/gperftools/sgidef.patch new file mode 100644 index 0000000000..7e1a23bf68 --- /dev/null +++ b/meta-oe/recipes-support/gperftools/gperftools/sgidef.patch @@ -0,0 +1,17 @@ +sgidef.h does not exist on musl and its not needed to compile + +Signed-off-by: Khem Raj +Upstream-Status: Pending +Index: git/src/base/linux_syscall_support.h +=================================================================== +--- git.orig/src/base/linux_syscall_support.h ++++ git/src/base/linux_syscall_support.h +@@ -164,7 +164,7 @@ extern "C" { + #include + #include + +-#ifdef __mips__ ++#if defined(__mips__) && defined(__glibc__) + /* Include definitions of the ABI currently in use. */ + #include + #endif -- cgit 1.2.3-korg