index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2022-09-21 08:22:38 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2022-09-21 08:22:38 +0200 |
commit | 6cbf38f7981c5374b0f20fd8235ab82c3ab61e74 (patch) | |
tree | 5bab5bc07e8e6b6bbef53390f5c8470e3951410a /core | |
parent | 40cf720d06d08a5de1ac4ca2f8c449677862d95d (diff) |
-rw-r--r-- | core/linux-lts/PKGBUILD | 4 | ||||
-rw-r--r-- | core/linux/PKGBUILD | 4 |
diff --git a/core/linux-lts/PKGBUILD b/core/linux-lts/PKGBUILD index e0a471e2..208b66b7 100644 --- a/core/linux-lts/PKGBUILD +++ b/core/linux-lts/PKGBUILD @@ -12,11 +12,11 @@ eval "$( sed ' \,/tools/objtool" ,d \,arch/x86/Makefile,a install -Dt "$builddir/arch/x86" -m644 arch/x86/Makefile_32.cpu - /}/ i depends+=(gcc-libs=$(get_gcc_version_from_config)) + /}/ i depends+=(gcc-libs=$(_get_gcc_version_from_config)) ' )" -get_gcc_version_from_config() { +_get_gcc_version_from_config() { sed ' s/^CONFIG_CC_VERSION_TEXT="gcc (GCC) \([0-9.]\+\)"$/\1/ t diff --git a/core/linux/PKGBUILD b/core/linux/PKGBUILD index bb2a47bf..6eea3bd4 100644 --- a/core/linux/PKGBUILD +++ b/core/linux/PKGBUILD @@ -29,11 +29,11 @@ eval "$( a \ install -t "${builddir}/arch/x86" -m644 arch/x86/Makefile_32.cpu } - /}/ i depends+=(gcc-libs=$(get_gcc_version_from_config)) + /}/ i depends+=(gcc-libs=$(_get_gcc_version_from_config)) ' )" -get_gcc_version_from_config() { +_get_gcc_version_from_config() { sed ' s/^CONFIG_CC_VERSION_TEXT="gcc (GCC) \([0-9.]\+\)"$/\1/ t |