mariadb: disable unittests when cross compiling
This commit is contained in:
parent
e49ac481a8
commit
5a85f481fc
|
@ -36,6 +36,10 @@ system_accounts="mysql"
|
||||||
mysql_homedir="/var/lib/mysql"
|
mysql_homedir="/var/lib/mysql"
|
||||||
CFLAGS="-w -fcommon"
|
CFLAGS="-w -fcommon"
|
||||||
|
|
||||||
|
if [ "$CROSS_BUILD" ]; then
|
||||||
|
configure_args+=" -DWITH_UNIT_TESTS=OFF"
|
||||||
|
fi
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
# We need some host binaries before starting cross compilation.
|
# We need some host binaries before starting cross compilation.
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
|
|
Loading…
Reference in New Issue