[packages/percona-server] - rel 2; disable implicit-fallthrough because code is not ready for it
arekm
arekm at pld-linux.org
Wed Oct 11 12:54:29 CEST 2017
commit f7198f8b3598fe2f32ef6455e77879566a95b3d5
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Wed Oct 11 12:54:22 2017 +0200
- rel 2; disable implicit-fallthrough because code is not ready for it
percona-server.spec | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/percona-server.spec b/percona-server.spec
index 3b23261..de45e31 100644
--- a/percona-server.spec
+++ b/percona-server.spec
@@ -41,7 +41,7 @@
%undefine with_tokudb
%endif
-%define rel 1
+%define rel 2
%define percona_rel 17
%include /usr/lib/rpm/macros.perl
Summary: Percona Server: a very fast and reliable SQL database engine
@@ -522,8 +522,10 @@ cd build
CPPFLAGS="%{rpmcppflags}" \
%cmake .. \
-DCMAKE_BUILD_TYPE=%{!?debug:RelWithDebInfo}%{?debug:Debug} \
- -DCMAKE_C_FLAGS_RELWITHDEBINFO="%{rpmcflags} -DNDEBUG -fno-omit-frame-pointer -fno-strict-aliasing" \
- -DCMAKE_CXX_FLAGS_RELWITHDEBINFO="%{rpmcxxflags} -DNDEBUG -fno-omit-frame-pointer -fno-strict-aliasing" \
+ -DCMAKE_C_FLAGS_DEBUG="-fno-omit-frame-pointer -fno-strict-aliasing -Wimplicit-fallthrough=0" \
+ -DCMAKE_CXX_FLAGS_DEBUG="-fno-omit-frame-pointer -fno-strict-aliasing -Wimplicit-fallthrough=0" \
+ -DCMAKE_C_FLAGS_RELWITHDEBINFO="%{rpmcflags} -DNDEBUG -fno-omit-frame-pointer -fno-strict-aliasing -Wimplicit-fallthrough=0" \
+ -DCMAKE_CXX_FLAGS_RELWITHDEBINFO="%{rpmcxxflags} -DNDEBUG -fno-omit-frame-pointer -fno-strict-aliasing -Wimplicit-fallthrough=0" \
-DCOMPILATION_COMMENT="PLD/Linux Distribution Percona Server RPM" \
-DCURSES_INCLUDE_PATH=/usr/include/ncurses \
%{?with_systemtap:-DENABLE_DTRACE=ON} \
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/percona-server.git/commitdiff/f7198f8b3598fe2f32ef6455e77879566a95b3d5
More information about the pld-cvs-commit
mailing list