index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | community/gcc10/PKGBUILD | 9 |
diff --git a/community/gcc10/PKGBUILD b/community/gcc10/PKGBUILD index 36851333..4337d994 100644 --- a/community/gcc10/PKGBUILD +++ b/community/gcc10/PKGBUILD @@ -79,3 +79,12 @@ else fi makedepends_pentium4=("${makedepends_i686[@]}") + +# avoid CHOST double gcc-libs +eval "$( + declare -f package_gcc10 | \ + sed ' + /rm.*_libdir.*/ a \ + rm -f "$pkgdir"/usr/lib/gcc/i686-pc-linux-gnu/${pkgver}/libgcc_s.so*; + ' +)" |