mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
libretro-fbneo: dont build target with _TIME_BITS or _FILE_OFFSET_BITS for arm32 userland builds
This commit is contained in:
parent
7f2a73ad1a
commit
e80603557c
@ -27,6 +27,14 @@ pre_configure_target() {
|
|||||||
PKG_MAKE_OPTS_TARGET+="-neon"
|
PKG_MAKE_OPTS_TARGET+="-neon"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# libretro-fbneo 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
|
||||||
}
|
}
|
||||||
|
|
||||||
makeinstall_target() {
|
makeinstall_target() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user