From 94b9d9f1f4740a8f2b373e794f6d835099e1c831 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Fri, 6 Sep 2019 08:06:56 +0200 Subject: community/percona-server: fix for 32-bit build and no -Werror --- community/percona-server/PKGBUILD | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'community') 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/ + ' +)" -- cgit v1.2.3-70-g09d2