index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2022-09-21 08:17:21 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2022-09-21 08:17:21 +0200 |
commit | a2cd874246c218d525226e3d171194347e2f2a0e (patch) | |
tree | d9b6d546c81592371c26746299206dc8d6cbbe76 | |
parent | 4b7dca969e0edad71b69e332ca9c9ebcee7ffd26 (diff) |
-rw-r--r-- | core/linux-lts/PKGBUILD | 9 |
diff --git a/core/linux-lts/PKGBUILD b/core/linux-lts/PKGBUILD index 50e5c7c5..e0a471e2 100644 --- a/core/linux-lts/PKGBUILD +++ b/core/linux-lts/PKGBUILD @@ -12,9 +12,18 @@ 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)) ' )" +get_gcc_version_from_config() { + sed ' + s/^CONFIG_CC_VERSION_TEXT="gcc (GCC) \([0-9.]\+\)"$/\1/ + t + d + ' "$srcdir/$_srcname/.config" +} + # avoid using zstd compression in ultra mode (exhausts virtual memory) source+=('no-ultra-zstd.patch') sha256sums+=('3997ce6033fdf950a9960f1db720b38c47b1a2e06ab75fc6712c154f596e7c47') |