[packages/libmemcached] - fix build with gcc 4.8.x

qboosh qboosh at pld-linux.org
Sun Nov 10 16:27:08 CET 2013


commit 5cfce8bbf07cd7692dac3aa03e384169bfaf370e
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Nov 10 16:27:33 2013 +0100

    - fix build with gcc 4.8.x

 libmemcached.spec | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/libmemcached.spec b/libmemcached.spec
index 42792d7..d18802b 100644
--- a/libmemcached.spec
+++ b/libmemcached.spec
@@ -23,6 +23,7 @@ BuildRequires:	libevent-devel
 BuildRequires:	libstdc++-devel
 BuildRequires:	libtool >= 2:2.2
 BuildRequires:	perl-tools-pod
+BuildRequires:	sed >= 4.0
 BuildRequires:	sphinx-pdg
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -67,6 +68,9 @@ Statyczna biblioteka memcached.
 %setup -q
 %patch0 -p1
 
+# don't enable all posible sanitizers (conflicting with others)
+%{__sed} -i -e '/-fsanitize=/d' m4/ax_harden_compiler_flags.m4
+
 %build
 %{__libtoolize}
 %{__aclocal} -I m4
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libmemcached.git/commitdiff/5cfce8bbf07cd7692dac3aa03e384169bfaf370e



More information about the pld-cvs-commit mailing list