aboutsummaryrefslogtreecommitdiffstats
path: root/main/mariadb/APKBUILD
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2020-04-10 16:07:50 +0200
committerSören Tempel <soeren+git@soeren-tempel.net>2020-06-02 22:32:07 +0200
commit99401c3e096fe96bd68167339bd4da6ca1ea6b75 (patch)
tree53127acfed0cda593b2891dd80f412c68629bcdc /main/mariadb/APKBUILD
parent6aa80f810a27bc8dac056243bb1a8e3f1eb4dec7 (diff)
downloadaports-99401c3e096fe96bd68167339bd4da6ca1ea6b75.tar.gz
aports-99401c3e096fe96bd68167339bd4da6ca1ea6b75.tar.bz2
aports-99401c3e096fe96bd68167339bd4da6ca1ea6b75.tar.xz
main/mariadb: set CMake build type to MinSizeRel
It would be desirable to compile mariadb with the None build type to make it pick up our CFLAGS/CXXFLAGS from /etc/abuild.conf. Unfortunately, mariadb fails to build with the None build type. For this reason, we use the MinSizeRel build type as a compromise as it is closet to our default /etc/abuild.conf (i.e. uses -Os).
Diffstat (limited to 'main/mariadb/APKBUILD')
-rw-r--r--main/mariadb/APKBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/main/mariadb/APKBUILD b/main/mariadb/APKBUILD
index 1538364c71..57ac87ab24 100644
--- a/main/mariadb/APKBUILD
+++ b/main/mariadb/APKBUILD
@@ -8,7 +8,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mariadb
pkgver=10.4.13
-pkgrel=0
+pkgrel=1
pkgdesc="A fast SQL database server"
url="https://www.mariadb.org/"
pkgusers="mysql"
@@ -120,6 +120,7 @@ source="https://downloads.mariadb.org/interstitial/mariadb-$pkgver/source/mariad
# All cmake configuration options can be displayed with: cmake ../server -LH
build() {
cmake . -DBUILD_CONFIG=mysql_release \
+ -DCMAKE_BUILD_TYPE=MinSizeRel \
-DCMAKE_INSTALL_PREFIX=/usr \
-DSYSCONFDIR=/etc \
-DSYSCONF2DIR=/etc/my.cnf.d \