index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
author | Andreas Baumann <mail@andreasbaumann.cc> | 2021-06-07 20:42:44 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2021-06-07 20:42:44 +0200 |
commit | 935cd710044b60c1d720e843c39edd259c5c2d6c (patch) | |
tree | 92bde08267f21e32df8a2fa5034a4ab4f9ae5437 /community/gcc10 | |
parent | 95c6eec3ee07b4f11861469af77da772ee3dc15f (diff) |
-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*; + ' +)" |