index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
author | Andreas Baumann <mail@andreasbaumann.cc> | 2019-09-06 08:06:56 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2019-09-06 08:06:56 +0200 |
commit | 94b9d9f1f4740a8f2b373e794f6d835099e1c831 (patch) | |
tree | e3de076c7fad26759fee5ee2543ce2ff844968d1 /community | |
parent | 92ae537eb8f1e744bba11545261e81702a9e79cd (diff) |
-rw-r--r-- | community/percona-server/PKGBUILD | 17 |
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/ + ' +)" |