View | Details | Raw Unified | Return to bug 244073
Collapse All | Expand All

(-)Makefile (-2 / +8 lines)
Lines 32-41 Link Here
32
		liblz4.so:archivers/liblz4 \
32
		liblz4.so:archivers/liblz4 \
33
		libzstd.so:archivers/zstd \
33
		libzstd.so:archivers/zstd \
34
		libprotobuf.so:devel/protobuf \
34
		libprotobuf.so:devel/protobuf \
35
		libunwind.so:devel/libunwind
35
		${LIB_DEPENDS_${ARCH}}
36
LIB_DEPENDS_aarch64=	libunwind.so:devel/libunwind
37
LIB_DEPENDS_amd64=	libunwind.so:devel/libunwind
38
LIB_DEPENDS_i386=	libunwind.so:devel/libunwind
36
39
37
BUILD_DEPENDS=	liblz4>0:archivers/liblz4 \
40
BUILD_DEPENDS=	liblz4>0:archivers/liblz4 \
38
		libunwind>0:devel/libunwind
41
		${BUILD_DEPENDS_${ARCH}}
42
BUILD_DEPENDS_aarch64=	libunwind>0:devel/libunwind
43
BUILD_DEPENDS_amd64=	libunwind>0:devel/libunwind
44
BUILD_DEPENDS_i386=	libunwind>0:devel/libunwind
39
45
40
CMAKE_BUILD_TYPE=	Release
46
CMAKE_BUILD_TYPE=	Release
41
CFLAGS+=		-fPIC
47
CFLAGS+=		-fPIC
(-)files/patch-include_my__stacktrace.h (+11 lines)
Line 0 Link Here
1
--- include/my_stacktrace.h.orig	2020-01-23 19:43:07.769584000 +0100
2
+++ include/my_stacktrace.h	2020-01-23 19:43:48.684042000 +0100
3
@@ -43,7 +43,7 @@
4
   HAVE_BACKTRACE - Linux, FreeBSD, OSX, Solaris
5
   _WIN32 - Windows
6
 */
7
-#if defined(HAVE_BACKTRACE) || defined(_WIN32)
8
+#if (defined(HAVE_BACKTRACE) || defined(_WIN32)) && (defined(__aarch64__) || defined(__amd64__) || defined(__i386__))
9
 #define HAVE_STACKTRACE 1
10
 void my_init_stacktrace();
11
 void my_print_stacktrace(uchar *stack_bottom, ulong thread_stack);

Return to bug 244073