From 0c49d861c55ce6c64f59c37fb58e8ac5841cdd18 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Fri, 6 Sep 2019 09:10:03 +0200 Subject: community/percona-server: enable debug mode, code breaks under optimization (the errmsg generator at least) --- community/percona-server/PKGBUILD | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'community/percona-server') diff --git a/community/percona-server/PKGBUILD b/community/percona-server/PKGBUILD index 338fb46f..d4ca9e87 100644 --- a/community/percona-server/PKGBUILD +++ b/community/percona-server/PKGBUILD @@ -24,3 +24,13 @@ eval "$( s/-DTOKU_DEBUG_PARANOID=OFF/-DWITH_TOKUDB=OFF/ ' )" + +# https://bugs.mysql.com/bug.php?id=67898 +# is very old and on WONTFIX, so the error message generator break +# on 32-bit with optimization, we enable debug mode with no optimizations, sorry +eval "$( + declare -f build | \ + sed ' + s/-Wno-dev/-Wno-dev -DWITH_DEBUG=YES/ + ' +)" -- cgit v1.2.3-70-g09d2