mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-10-23 20:58:33 +00:00
gperftools: Fix build on musl/mips
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
(cherry picked from commit 738bea45bc)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
1 parent
5d285bef0f
commit
7b404fd996
2 files changed
+18
No files matched your search
@@ -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
|
||||||
@@ -12,6 +12,7 @@ SRC_URI = "git://github.com/gperftools/gperftools \
|
|||||||
file://0001-include-fcntl.h-for-loff_t-definition.patch \
|
file://0001-include-fcntl.h-for-loff_t-definition.patch \
|
||||||
file://0001-disbale-heap-checkers-and-debug-allocator-on-musl.patch \
|
file://0001-disbale-heap-checkers-and-debug-allocator-on-musl.patch \
|
||||||
file://disable_libunwind_aarch64.patch \
|
file://disable_libunwind_aarch64.patch \
|
||||||
|
file://sgidef.patch \
|
||||||
"
|
"
|
||||||
|
|
||||||
inherit autotools
|
inherit autotools
|
||||||
|
|||||||
Reference in new issue
Block a user