Revert "mariadb: dont build target with _TIME_BITS or _FILE_OFFSET_BITS for arm32 userland builds"

This reverts commit 79791faf430a8e9b0bdad49dd4f4c448b0b2137c.

Signed-off-by: Matthias Reichl <hias@horus.com>
This commit is contained in:
Matthias Reichl 2022-11-24 01:54:13 +01:00
parent 7bf71803f5
commit b602ba058a

View File

@ -20,16 +20,6 @@ PKG_SECTION="service"
PKG_ADDON_NAME="MariaDB SQL database server"
PKG_ADDON_TYPE="xbmc.service"
pre_configure_target() {
# mariadb does not need / nor build successfully with _FILE_OFFSET_BITS or _TIME_BITS set
if [ "${TARGET_ARCH}" = "arm" ]; then
export CFLAGS=$(echo ${CFLAGS} | sed -e "s|-D_FILE_OFFSET_BITS=64||g")
export CFLAGS=$(echo ${CFLAGS} | sed -e "s|-D_TIME_BITS=64||g")
export CXXFLAGS=$(echo ${CXXFLAGS} | sed -e "s|-D_FILE_OFFSET_BITS=64||g")
export CXXFLAGS=$(echo ${CXXFLAGS} | sed -e "s|-D_TIME_BITS=64||g")
fi
}
configure_package() {
PKG_CMAKE_OPTS_HOST=" \
-DCMAKE_INSTALL_MESSAGE=NEVER \