index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | core/linux/PKGBUILD | 9 |
diff --git a/core/linux/PKGBUILD b/core/linux/PKGBUILD index 0921f075..6131c7cc 100644 --- a/core/linux/PKGBUILD +++ b/core/linux/PKGBUILD @@ -29,9 +29,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 + ' "$_srcname/.config" +} + # use our tarballer instead of cloning from git for ((i=0; i<${#source[@]}; i++)); do infos=$( |