- fix build
This commit is contained in:
parent
0c09c03f98
commit
872f4fc72a
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user