mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
Revert "glibc: dont build target with _TIME_BITS or _FILE_OFFSET_BITS for arm32 userland builds"
This reverts commit ddd8e1e3366f93e6621df619e80c87ebc3175ff6. Signed-off-by: Matthias Reichl <hias@horus.com>
This commit is contained in:
parent
1f85ae27f3
commit
889f3d8a5a
@ -89,14 +89,6 @@ EOF
|
|||||||
|
|
||||||
# binaries to install into target
|
# binaries to install into target
|
||||||
GLIBC_INCLUDE_BIN="getent ldd locale localedef"
|
GLIBC_INCLUDE_BIN="getent ldd locale localedef"
|
||||||
|
|
||||||
# glibc 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
|
|
||||||
}
|
}
|
||||||
|
|
||||||
post_makeinstall_target() {
|
post_makeinstall_target() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user