Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/core/binutils
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2022-05-13 16:59:02 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2022-05-13 16:59:02 +0200
commit2895b95eef1e32561286dc5c1ab65e92e9838721 (patch)
tree89c26c976132b942a8c947b47e9911105f9deff4 /core/binutils
parent89a593b8f2c0cfd7ad5ac46db45c5d3af8a2db5d (diff)
core/binutils: removing files clashing with gdb/gdb-common by hand
Diffstat (limited to 'core/binutils')
-rw-r--r--core/binutils/PKGBUILD15
1 files changed, 15 insertions, 0 deletions
diff --git a/core/binutils/PKGBUILD b/core/binutils/PKGBUILD
index c275c111..8ad3750e 100644
--- a/core/binutils/PKGBUILD
+++ b/core/binutils/PKGBUILD
@@ -83,3 +83,18 @@ eval "$(
s/ check/ check || true/
'
)"
+
+# we get a clash with files from gdb, delete them (they should not be there?)
+eval "$(
+ declare -f package | \
+ sed '
+ /make.*install.*/ a \
+ rm -rf "$pkgdir"/usr/bin/{gcore,gdb,gdb-add-index,gdbserver} \
+ rm -rf "$pkgdir"/usr/include/gdb \
+ rm -rf "$pkgdir"/usr/lib/libinproctrace.so \
+ rm -rf "$pkgdir"/usr/share/gdb/{guile,syscalls,system-gdbinit} \
+ rm -rf "$pkgdir"/usr/share/info/{annotate,gdb,stabs}.info.gz \
+ rm -rf "$pkgdir"/usr/share/man/man1/{gcore,gdb-add-index,gdb,gdbserver}.1.gz \
+ rm -rf "$pkgdir"/usr/share/man/man5/gdbinit.5.gz
+ '
+)"