summaryrefslogtreecommitdiff
path: root/community/percona-server
diff options
context:
space:
mode:
Diffstat (limited to 'community/percona-server')
-rw-r--r--community/percona-server/PKGBUILD10
1 files changed, 10 insertions, 0 deletions
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/
+ '
+)"