compile with fcommon to support gcc 10

This commit is contained in:
liu yinsi 2021-08-02 07:13:25 +00:00 committed by Gitee
parent 0ddfbfc3bd
commit 6f9557e3d1

View File

@ -1,7 +1,7 @@
Name: libmemcached
Summary: Client library and command line tools for memcached server
Version: 1.0.18
Release: 17
Release: 18
License: BSD
URL: http://libmemcached.org/
#origin source:https://launchpad.net/libmemcached/1.0/1.0.18/+download/libmemcached-1.0.18.tar.gz
@ -54,7 +54,7 @@ cp -p tests/*.{cc,h} examples/
%configure \
--with-memcached=%{_bindir}/memcached \
--enable-sasl --enable-libmemcachedprotocol \
--enable-memaslap --enable-dtrace --disable-static
--enable-memaslap --enable-dtrace --disable-static CFLAGS="$CLASS -fcommon"
%make_build V=1
@ -100,6 +100,9 @@ make test
%{_mandir}/man3/hashkit*
%changelog
* Mon Aug 02 2021 Liu Yinsi <liuyinsi@163.com> - 1.0.18-18
- compile with -fcommon to support gcc 10
* Fri Oct 30 2020 lingsheng <lingsheng@huawei.com> - 1.0.18-17
- Fix memdump unexpected errors