- fix build

This commit is contained in:
Joe Orton 2011-02-16 17:17:16 +00:00
parent 0c09c03f98
commit 872f4fc72a

View File

@ -18,7 +18,6 @@ Source1: memcached.sysv
# Patches # Patches
# From http://code.google.com/p/memcached/issues/detail?id=60 # From http://code.google.com/p/memcached/issues/detail?id=60
Patch001: memcached-1.4.5-issue60.diff Patch001: memcached-1.4.5-issue60.diff
Patch002: memcached-1.4.5-warnings.patch
# Fixes # Fixes
@ -54,11 +53,10 @@ memcached binary include files.
%prep %prep
%setup -q %setup -q
%patch001 -p1 %patch001 -p1
%patch002 -p1 -b .warnings
%build %build
%configure %configure
sed -i 's/-Werror/ /' Makefile
make %{?_smp_mflags} make %{?_smp_mflags}
%check %check