- Enable profiling

- Add jemalloc-fix-backtracing.patch to fix profiling tests on x86
  (the failures were triggered due to profiling support.)

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/jemalloc?expand=0&rev=22
This commit is contained in:
Ismail Dönmez
2014-03-31 09:27:21 +00:00
committed by Git OBS Bridge
parent 89ea9b96ee
commit 8771a24478
3 changed files with 25 additions and 1 deletions

View File

@@ -27,6 +27,8 @@ Url: http://canonware.com/jemalloc/
#Git-Clone: git://canonware.com/jemalloc
Source: http://www.canonware.com/download/jemalloc/jemalloc-%{version}.tar.bz2
Patch1: jemalloc-fix-backtracing.patch
BuildRequires: autoconf
BuildRequires: docbook-xsl-stylesheets
BuildRequires: libxslt
Requires: %lname = %{version}
@@ -64,10 +66,13 @@ malloc(3) implementation.
%prep
%setup -q
%patch1 -p1
%build
export EXTRA_CFLAGS="%{optflags} -std=gnu99"
%configure --enable-cc-silence
autoconf
%configure --enable-cc-silence \
--enable-prof
make %{?_smp_mflags}
%install