summaryrefslogtreecommitdiff
path: root/core/binutils
diff options
context:
space:
mode:
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
+ '
+)"