[packages/strace] - enable libunwind on x32, handle libiberty
qboosh
qboosh at pld-linux.org
Sat Feb 24 22:14:00 CET 2018
commit 419f723964a0d151d985445b3e5148dc2af07348
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat Feb 24 22:16:27 2018 +0100
- enable libunwind on x32, handle libiberty
strace.spec | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/strace.spec b/strace.spec
index 8015fe5..95b6586 100644
--- a/strace.spec
+++ b/strace.spec
@@ -1,8 +1,9 @@
#
# Conditional build:
%bcond_without libunwind # strack tracing using libunwind
+%bcond_without libiberty # symbol demangling in stack backtraces
#
-%ifnarch %{ix86} %{x8664} arm hppa ia64 mips ppc ppc64 sh
+%ifnarch %{ix86} %{x8664} x32 %{arm} hppa ia64 mips ppc ppc64 sh
%undefine with_libunwind
%endif
Summary: prints system call strace of a running process
@@ -25,6 +26,7 @@ Source1: %{name}.1.pl
URL: https://strace.io/
# acl and libaio for headers only
BuildRequires: acl-devel
+%{?with_libiberty:BuildRequires: binutils-devel}
BuildRequires: libaio-devel
%{?with_libunwind:BuildRequires: libunwind-devel}
BuildRequires: tar >= 1:1.22
@@ -112,6 +114,7 @@ Doda wtedy upływający czas dla każdego procesu.
CFLAGS="%{rpmcflags} -fPIE"
%endif
%configure \
+ %{!?with_libiberty:--without-libiberty} \
%{!?with_libunwind:--without-libunwind}
%{__make}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/strace.git/commitdiff/419f723964a0d151d985445b3e5148dc2af07348
More information about the pld-cvs-commit
mailing list