]> git.pld-linux.org Git - packages/strace.git/commitdiff
- enable libunwind on x32, handle libiberty
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 24 Feb 2018 21:16:27 +0000 (22:16 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Sat, 24 Feb 2018 21:16:27 +0000 (22:16 +0100)
strace.spec

index 8015fe5506f8962acca955cd522789c0c61262dd..95b6586592fc5729444e0fc03e2dd0b71f1aaf8b 100644 (file)
@@ -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}
 
This page took 0.248182 seconds and 4 git commands to generate.