Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2023-05-04 09:16:27 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2023-05-04 09:16:27 +0200
commit66f90eb7c287d3131671de08986d958379b26731 (patch)
treecdccb338acce9bb656a779f148f815f1c89af2de
parent81371f369ac057925cdf13ba10a18d7ad9524871 (diff)
build-support/gcc11: fixed a duplicate libgcc_so in gcc11 and gcc11-libs
-rw-r--r--build-support/gcc11/PKGBUILD2
1 files changed, 2 insertions, 0 deletions
diff --git a/build-support/gcc11/PKGBUILD b/build-support/gcc11/PKGBUILD
index 84ce4e72..5a9078ec 100644
--- a/build-support/gcc11/PKGBUILD
+++ b/build-support/gcc11/PKGBUILD
@@ -239,6 +239,8 @@ package_gcc11() {
make -C $CHOST/libgcc DESTDIR="$pkgdir" install
rm -rf "${pkgdir}/${_libdir}"/../lib
+ rm -rf "%{pkgdir}/${_libdir}"/libgcc_s.so*
+
make -C $CHOST/libstdc++-v3/src DESTDIR="$pkgdir" install
make -C $CHOST/libstdc++-v3/include DESTDIR="$pkgdir" install
make -C $CHOST/libstdc++-v3/libsupc++ DESTDIR="$pkgdir" install