mariadb: disable unittests when cross compiling

This commit is contained in:
John 2021-02-10 23:51:02 +01:00
parent e49ac481a8
commit 5a85f481fc
1 changed files with 4 additions and 0 deletions

View File

@ -36,6 +36,10 @@ system_accounts="mysql"
mysql_homedir="/var/lib/mysql"
CFLAGS="-w -fcommon"
if [ "$CROSS_BUILD" ]; then
configure_args+=" -DWITH_UNIT_TESTS=OFF"
fi
pre_configure() {
# We need some host binaries before starting cross compilation.
if [ "$CROSS_BUILD" ]; then