[packages/pound] - disable tcmalloc usage on x32 - rel 2
baggins
baggins at pld-linux.org
Sun May 10 12:25:36 CEST 2015
commit 95d418a4f2f6af9dff5055136a6e1e7a269bfbe1
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sun May 10 12:25:23 2015 +0200
- disable tcmalloc usage on x32
- rel 2
pound.spec | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
---
diff --git a/pound.spec b/pound.spec
index c1c14f8..3e0a991 100644
--- a/pound.spec
+++ b/pound.spec
@@ -1,8 +1,13 @@
+%bcond_without tcmalloc # tcmalloc allocator
+
+%ifarch x32
+%undefine with_tcmalloc
+%endif
Summary: Pound - reverse-proxy and load-balancer
Summary(pl.UTF-8): Pound - reverse-proxy i load-balancer
Name: pound
Version: 2.7
-Release: 1
+Release: 2
License: GPL v3
Group: Networking/Daemons
Source0: http://www.apsis.ch/pound/Pound-%{version}.tgz
@@ -19,7 +24,7 @@ Patch3: %{name}-log-notice.patch
Patch4: %{name}-man.patch
URL: http://www.apsis.ch/pound/
BuildRequires: automake
-BuildRequires: libtcmalloc-devel
+%{?with_tcmalloc:BuildRequires: libtcmalloc-devel}
BuildRequires: openssl-devel >= 0.9.7d
BuildRequires: openssl-tools
BuildRequires: pcre-devel
@@ -69,7 +74,7 @@ cp -f /usr/share/automake/config.sub .
%configure \
--enable-super \
--enable-pcreposix \
- --enable-tcmalloc \
+ %{__enable_disable tcmalloc} \
--disable-hoard \
--with-maxbuf=6144
%{__make}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/pound.git/commitdiff/95d418a4f2f6af9dff5055136a6e1e7a269bfbe1
More information about the pld-cvs-commit
mailing list