Commit 99401c3e authored by Sören Tempel's avatar Sören Tempel
Browse files

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).
parent 6aa80f81
......@@ -8,7 +8,7 @@
# Maintainer: Natanael Copa <>
pkgdesc="A fast SQL database server"
......@@ -120,6 +120,7 @@ source="$pkgver/source/mariad
# All cmake configuration options can be displayed with: cmake ../server -LH
build() {
cmake . -DBUILD_CONFIG=mysql_release \
-DSYSCONF2DIR=/etc/my.cnf.d \
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment