[openwrt/openwrt] toolchain: glibc: Increase min kernel version to 5.10

LEDE Commits lede-commits at lists.infradead.org
Mon Aug 15 10:32:16 PDT 2022


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/a66f843971d8b0b2f8bad1cb75f3bbc1a8e06bf0

commit a66f843971d8b0b2f8bad1cb75f3bbc1a8e06bf0
Author: Hauke Mehrtens <hauke at hauke-m.de>
AuthorDate: Sun Aug 7 01:09:42 2022 +0200

    toolchain: glibc: Increase min kernel version to 5.10
    
    This removes all compatibility code normally compiled into glibc for
    kernel < 5.10 from our build. The build glibc version will only work
    with Linux kernel >= 5.10.
    
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 toolchain/glibc/common.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/toolchain/glibc/common.mk b/toolchain/glibc/common.mk
index 5acb13b5dc..107245472a 100644
--- a/toolchain/glibc/common.mk
+++ b/toolchain/glibc/common.mk
@@ -64,7 +64,7 @@ GLIBC_CONFIGURE:= \
 		  $(if $(CONFIG_PKG_CC_STACKPROTECTOR_REGULAR),--enable-stack-protector=yes) \
 		  $(if $(CONFIG_PKG_CC_STACKPROTECTOR_STRONG),--enable-stack-protector=strong) \
 		  $(if $(CONFIG_PKG_RELRO_FULL),--enable-bind-now) \
-		--enable-kernel=5.4.0
+		--enable-kernel=5.10.0
 
 export libc_cv_ssp=no
 export libc_cv_ssp_strong=no




More information about the lede-commits mailing list