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