From 1cfb6a8049629befc8f5526ccd0e57c3f65f4b2b Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Fri, 5 Jul 2024 08:09:16 +0200 Subject: core/linux: fixed extraction of gcc-libs version from kernel config --- core/linux/PKGBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/linux/PKGBUILD b/core/linux/PKGBUILD index 7ee56472..83277b9f 100644 --- a/core/linux/PKGBUILD +++ b/core/linux/PKGBUILD @@ -41,7 +41,7 @@ _get_gcc_version_from_config() { [ -f "$_config_file" ] && break done sed ' - s/^CONFIG_CC_VERSION_TEXT="gcc (GCC) \([0-9.]\+\)"$/\1/ + s/^CONFIG_CC_VERSION_TEXT="gcc (GCC) \([0-9\.]\+\) [0-9]\+"$/\1/ t d ' "$_config_file" -- cgit v1.2.3-70-g09d2