index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
-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') |