mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
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:
parent
7bf71803f5
commit
b602ba058a
@ -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 \
|
||||
|
Loading…
x
Reference in New Issue
Block a user