Accepting request 861795 from home:Andreas_Schwab:Factory
- Enable build on riscv64 - No libunwind-coredump on powerpc OBS-URL: https://build.opensuse.org/request/show/861795 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gperftools?expand=0&rev=54
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jan 8 19:27:51 UTC 2021 - Andreas Schwab <schwab@suse.de>
|
||||||
|
|
||||||
|
- Enable build on riscv64
|
||||||
|
- No libunwind-coredump on powerpc
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jan 5 08:23:07 UTC 2021 - Paolo Stivanin <info@paolostivanin.com>
|
Tue Jan 5 08:23:07 UTC 2021 - Paolo Stivanin <info@paolostivanin.com>
|
||||||
|
|
||||||
|
@@ -34,15 +34,17 @@ BuildRequires: pkgconfig
|
|||||||
Provides: google-perftools
|
Provides: google-perftools
|
||||||
Obsoletes: google-perftools
|
Obsoletes: google-perftools
|
||||||
# based on basictypes.h in the source tree
|
# based on basictypes.h in the source tree
|
||||||
ExclusiveArch: %{ix86} x86_64 ppc ppc64 ppc64le %{arm} aarch64 mips s390x
|
ExclusiveArch: %{ix86} x86_64 ppc ppc64 ppc64le %{arm} aarch64 mips s390x riscv64
|
||||||
%ifnarch s390x s390
|
%ifnarch s390x s390 riscv64
|
||||||
BuildRequires: pkgconfig(libunwind)
|
BuildRequires: pkgconfig(libunwind)
|
||||||
|
%ifarch %{ix86} x86_64 %{arm} aarch64 mips
|
||||||
BuildRequires: pkgconfig(libunwind-coredump)
|
BuildRequires: pkgconfig(libunwind-coredump)
|
||||||
|
%endif
|
||||||
BuildRequires: pkgconfig(libunwind-generic)
|
BuildRequires: pkgconfig(libunwind-generic)
|
||||||
BuildRequires: pkgconfig(libunwind-ptrace)
|
BuildRequires: pkgconfig(libunwind-ptrace)
|
||||||
BuildRequires: pkgconfig(libunwind-setjmp)
|
BuildRequires: pkgconfig(libunwind-setjmp)
|
||||||
%endif
|
%endif
|
||||||
%ifnarch s390
|
%ifnarch s390 riscv64
|
||||||
BuildRequires: pkgconfig(valgrind)
|
BuildRequires: pkgconfig(valgrind)
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@@ -95,7 +97,7 @@ applications that use the gperftools package.
|
|||||||
%build
|
%build
|
||||||
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
|
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
|
||||||
autoreconf -fi
|
autoreconf -fi
|
||||||
%ifnarch s390
|
%ifnarch s390 riscv64
|
||||||
VALGRIND_FL=`pkg-config --cflags valgrind`
|
VALGRIND_FL=`pkg-config --cflags valgrind`
|
||||||
%endif
|
%endif
|
||||||
export CPPFLAGS="$VALGRIND_FL"
|
export CPPFLAGS="$VALGRIND_FL"
|
||||||
|
Reference in New Issue
Block a user