Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2024-07-05 08:09:16 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2024-07-05 08:09:16 +0200
commit1cfb6a8049629befc8f5526ccd0e57c3f65f4b2b (patch)
tree1a3596fa205e6cf25488af1313d0078168c35e5a /core
parentbb897da286cd35d901be888a44042a57e7688e68 (diff)
core/linux: fixed extraction of gcc-libs version from kernel config
Diffstat (limited to 'core')
-rw-r--r--core/linux/PKGBUILD2
1 files changed, 1 insertions, 1 deletions
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"