mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
eglibc: setup min. supported kernel version to 2.6.34 for AMLm3 kernels, and 3.0.0 otherwise
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
8762e6ad09
commit
147e2f81ff
@ -22,6 +22,12 @@
|
||||
|
||||
. config/options $1
|
||||
|
||||
if [ "$LINUX" = AMLm3 ]; then
|
||||
KERNEL_VER="2.6.34"
|
||||
else
|
||||
KERNEL_VER="3.0.0"
|
||||
fi
|
||||
|
||||
# Fails to compile with GCC's link time optimization.
|
||||
strip_lto
|
||||
|
||||
@ -137,7 +143,7 @@ EOF
|
||||
--enable-bind-now \
|
||||
--with-elf \
|
||||
--with-tls \
|
||||
--enable-kernel=2.6.39 \
|
||||
--enable-kernel=$KERNEL_VER \
|
||||
--with-__thread \
|
||||
--with-binutils=$BUILD/toolchain/bin \
|
||||
--with-headers=$SYSROOT_PREFIX/usr/include \
|
||||
|
Loading…
x
Reference in New Issue
Block a user