Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--community/gcc10/PKGBUILD9
1 files changed, 9 insertions, 0 deletions
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*;
+ '
+)"