Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/community
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2019-09-06 08:06:56 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2019-09-06 08:06:56 +0200
commit94b9d9f1f4740a8f2b373e794f6d835099e1c831 (patch)
treee3de076c7fad26759fee5ee2543ce2ff844968d1 /community
parent92ae537eb8f1e744bba11545261e81702a9e79cd (diff)
community/percona-server: fix for 32-bit build and no -Werror
Diffstat (limited to 'community')
-rw-r--r--community/percona-server/PKGBUILD17
1 files changed, 17 insertions, 0 deletions
diff --git a/community/percona-server/PKGBUILD b/community/percona-server/PKGBUILD
index 43528729..338fb46f 100644
--- a/community/percona-server/PKGBUILD
+++ b/community/percona-server/PKGBUILD
@@ -7,3 +7,20 @@ eval "$(
$ i patch -p1 -i "$srcdir/LF_PINS-size.patch"
'
)"
+
+# disable maintainer mode (-Werror)
+eval "$(
+ declare -f build | \
+ sed '
+ s/-Wno-dev/-Wno-dev -DMYSQL_MAINTAINER_MODE=OFF/
+ '
+)"
+
+# do not build storage backends which are only available on 64-bit
+eval "$(
+ declare -f build | \
+ sed '
+ s/-DWITH_ROCKSDB=ON/-DWITH_ROCKSDB=OFF/
+ s/-DTOKU_DEBUG_PARANOID=OFF/-DWITH_TOKUDB=OFF/
+ '
+)"