Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/community/percona-server
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2019-09-06 09:10:03 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2019-09-06 09:10:03 +0200
commit0c49d861c55ce6c64f59c37fb58e8ac5841cdd18 (patch)
tree1dc4deb79915b2c92b62d812888f1ff3b8077f95 /community/percona-server
parent94b9d9f1f4740a8f2b373e794f6d835099e1c831 (diff)
community/percona-server: enable debug mode, code breaks under optimization (the errmsg generator at least)
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/
+ '
+)"