diff options
author | Khem Raj <raj.khem@gmail.com> | 2017-10-16 21:26:40 -0700 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2017-10-20 16:14:55 +0000 |
commit | 738bea45bc51d9a78a3d46ee8c18390427ccd547 (patch) | |
tree | a758f99d89daacbf020e4ae93c96360fe4728b3c /meta-oe/recipes-support/gperftools/gperftools | |
parent | 084db496b4973cd65e2a09ec93b4d7500a4eed50 (diff) | |
download | meta-openembedded-contrib-738bea45bc51d9a78a3d46ee8c18390427ccd547.tar.gz |
gperftools: Fix build on musl/mips
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/gperftools/gperftools')
-rw-r--r-- | meta-oe/recipes-support/gperftools/gperftools/sgidef.patch | 17 |
1 files changed, 17 insertions, 0 deletions
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 <raj.khem@gmail.com> +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 <endian.h> + #include <fcntl.h> + +-#ifdef __mips__ ++#if defined(__mips__) && defined(__glibc__) + /* Include definitions of the ABI currently in use. */ + #include <sgidefs.h> + #endif |