From 0d1701601b0a97cd2a7f5d05f2b4e2044afe337c Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Thu, 17 Feb 2022 21:27:38 +0100 Subject: core/binutils: break libiberty cycle with gcc --- core/binutils/PKGBUILD | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'core/binutils') diff --git a/core/binutils/PKGBUILD b/core/binutils/PKGBUILD index 047cfc82..7759d24b 100644 --- a/core/binutils/PKGBUILD +++ b/core/binutils/PKGBUILD @@ -63,3 +63,15 @@ eval "$( s/ check/ check || true/ ' )" + +# solve hen and egg issues around libiberty conflicts +# (they are part of gcc at the moment, after breaking the +# cycle we must readd them!) +eval "$( + declare -f package | \ + sed ' + /rm.*opcodes/ a \ + rm -f "$pkgdir"/usr/include/libiberty \ + rm -f "$pkgdir"/usr/lib/libiberty.a + ' +)" -- cgit v1.2.3-70-g09d2