index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2022-09-21 08:21:22 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2022-09-21 08:21:22 +0200 |
commit | 40cf720d06d08a5de1ac4ca2f8c449677862d95d (patch) | |
tree | 03a0ef1acc6d28f781a71f69e63afa28b2fa294c /extra/linux-zen | |
parent | 78fd3d37f6b2f4021065510b6824627c174c1604 (diff) |
-rw-r--r-- | extra/linux-zen/PKGBUILD | 9 |
diff --git a/extra/linux-zen/PKGBUILD b/extra/linux-zen/PKGBUILD index 7b66d446..89064177 100644 --- a/extra/linux-zen/PKGBUILD +++ b/extra/linux-zen/PKGBUILD @@ -15,9 +15,18 @@ eval "$( a \ install -t "${builddir}/arch/x86" -m644 arch/x86/Makefile_32.cpu } + /}/ i depends+=(gcc-libs=$(get_gcc_version_from_config)) ' )" +get_gcc_version_from_config() { + sed ' + s/^CONFIG_CC_VERSION_TEXT="gcc (GCC) \([0-9.]\+\)"$/\1/ + t + d + ' "$srcdir/$_srcname/.config" +} + # use our tarballer instead of cloning from git for ((i=0; i<${#source[@]}; i++)); do infos=$( |