mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
community/percona-server: v8 fix
This commit is contained in:
parent
0b755e6394
commit
b80257d79d
1 changed files with 5 additions and 1 deletions
|
@ -3,6 +3,7 @@
|
|||
|
||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
# - drop valgrind makedepend, bug requiring it has been fixed
|
||||
# - disable epoll on aarch64
|
||||
|
||||
pkgbase=percona-server
|
||||
pkgname=('libperconaserverclient' 'percona-server-clients' 'percona-server')
|
||||
|
@ -34,6 +35,8 @@ build() {
|
|||
mkdir build
|
||||
cd build
|
||||
|
||||
[[ $CARCH == "aarch64" ]] && CONFIG="-DHAVE_SYS_EPOLL_H=0"
|
||||
|
||||
cmake ../$pkgbase-$_pkgver \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DBUILD_CONFIG=mysql_release \
|
||||
|
@ -74,7 +77,8 @@ build() {
|
|||
-DCMAKE_C_FLAGS="-fPIC $CFLAGS -fno-strict-aliasing -DBIG_JOINS=1 -fomit-frame-pointer -fno-delete-null-pointer-checks" \
|
||||
-DCMAKE_CXX_FLAGS="-fPIC $CXXFLAGS -fno-strict-aliasing -DBIG_JOINS=1 -felide-constructors -fno-delete-null-pointer-checks" \
|
||||
-DWITH_MYSQLD_LDFLAGS="-pie ${LDFLAGS},-z,now" \
|
||||
-DWITH_BOOST="../boost_${_boost_ver//./_}"
|
||||
-DWITH_BOOST="../boost_${_boost_ver//./_}" \
|
||||
${CONFIG}
|
||||
|
||||
make
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue