manage build cross compile build errors:
- CMake Error: try_run() invoked in cross-compiling mode, please set
the following cache variables appropriately
variables required to be defined
LSTAT_FOLLOWS_SLASHED_SYMLINK_EXITCODE=0
LSTAT_FOLLOWS_SLASHED_SYMLINK_EXITCODE__TRYRUN_OUTPUT=“”
MASK_LONGDOUBLE_EXITCODE=0
MASK_LONGDOUBLE_EXITCODE__TRYRUN_OUTPUT=“”
STAT_EMPTY_STRING_BUG_EXITCODE=0
STAT_EMPTY_STRING_BUG_EXITCODE__TRYRUN_OUTPUT=“”
TokuDB's configure script seems somewhat broken when it comes to
cross-compilation so we shall disable it and also disable TokuDB.
Additionally TokuDB has been deprecated in MariaDB 10.5.y.