index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2022-09-21 08:20:32 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2022-09-21 08:20:32 +0200 |
commit | 78fd3d37f6b2f4021065510b6824627c174c1604 (patch) | |
tree | 43be875f659fe0547bf3c235428e19185d326269 /extra | |
parent | b56ada5ec3381bd9be92f1358458a5b1f0242b53 (diff) |
-rw-r--r-- | extra/linux-pae/PKGBUILD | 9 |
diff --git a/extra/linux-pae/PKGBUILD b/extra/linux-pae/PKGBUILD index 0c50c70e..85a8962e 100644 --- a/extra/linux-pae/PKGBUILD +++ b/extra/linux-pae/PKGBUILD @@ -195,6 +195,15 @@ _package-headers() { esac /usr/bin/strip ${_strip} "${_binary}" done < <(find "${_builddir}/scripts" -type f -perm -u+w -print0 2>/dev/null) + 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" } _package-docs() { |