aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpsykose <alice@ayaya.dev>2021-12-08 11:51:02 +0000
committerpsykose <alice@ayaya.dev>2021-12-08 12:51:06 +0100
commit735f93add9a99a1a1737521696593344f603600e (patch)
tree8fab1ac21eee3057b73abd24c26af7bcd4ae2d0a
parent8b6a0b3295d1cd852fed5d156abea41b22373c83 (diff)
downloadaports-735f93add9a99a1a1737521696593344f603600e.tar.gz
aports-735f93add9a99a1a1737521696593344f603600e.tar.bz2
aports-735f93add9a99a1a1737521696593344f603600e.tar.xz
main/mariadb: use MinSizeRel as CMAKE_BUILD_TYPE
this sets -DDBUG_OFF which disables debugging code in some parts of the codebase fixes #13276
-rw-r--r--main/mariadb/APKBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/main/mariadb/APKBUILD b/main/mariadb/APKBUILD
index d408e536b5..1e00b0cdca 100644
--- a/main/mariadb/APKBUILD
+++ b/main/mariadb/APKBUILD
@@ -8,7 +8,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mariadb
pkgver=10.6.4
-pkgrel=1
+pkgrel=2
pkgdesc="A fast SQL database server"
url="https://www.mariadb.org/"
pkgusers="mysql"
@@ -132,8 +132,9 @@ source="https://downloads.mariadb.org/interstitial/mariadb-$pkgver/source/mariad
# Available plugins https://mariadb.com/kb/en/library/list-of-plugins/
# All cmake configuration options can be displayed with: cmake ../server -LH
build() {
+ # set MinSizeRel as otherwise project enables debugging for some parts
cmake . -DBUILD_CONFIG=mysql_release \
- -DCMAKE_BUILD_TYPE=None \
+ -DCMAKE_BUILD_TYPE=MinSizeRel \
-DCMAKE_INSTALL_PREFIX=/usr \
-DSYSCONFDIR=/etc \
-DSYSCONF2DIR=/etc/my.cnf.d \