!9 compile with fcommon to support gcc 10

From: @liu-yinsi
Reviewed-by: @small_leek
Signed-off-by: @small_leek
This commit is contained in:
openeuler-ci-bot 2021-08-02 12:10:37 +00:00 committed by Gitee
commit ab7cca1dcd

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