summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Schumacher2022-03-01 19:55:16 +0100
committerTim Schumacher2022-03-01 19:55:16 +0100
commitefb25a86bcac9c68dd7946d0a9d367900da807c6 (patch)
treed0848a258c75a99c8ac3b83a44d560d9b72faf6c
parentdbd5aece785fb22e7558b418319a0337041a7c36 (diff)
downloadaur-mipsr5900el-unknown-linux-gnu-binutils.tar.gz
Remove libctf afterwards instead of disabling it
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD7
2 files changed, 4 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 34a0d383af9f..d57cdb896c5c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = mipsr5900el-unknown-linux-gnu-binutils
pkgdesc = A set of programs to assemble and manipulate binary and object files (mipsr5900el-unknown-linux-gnu)
pkgver = 2.34
- pkgrel = 2
+ pkgrel = 3
url = http://www.gnu.org/software/binutils/
arch = x86_64
license = GPL
@@ -13,4 +13,3 @@ pkgbase = mipsr5900el-unknown-linux-gnu-binutils
sha1sums = SKIP
pkgname = mipsr5900el-unknown-linux-gnu-binutils
-
diff --git a/PKGBUILD b/PKGBUILD
index 78efcd46a0f4..e363e890341e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
_target=mipsr5900el-unknown-linux-gnu
pkgname=$_target-binutils
pkgver=2.34
-pkgrel=2
+pkgrel=3
pkgdesc="A set of programs to assemble and manipulate binary and object files ($_target)"
arch=(x86_64)
url='http://www.gnu.org/software/binutils/'
@@ -25,7 +25,6 @@ build() {
./configure --target=$_target \
--prefix=/usr \
--disable-nls \
- --disable-libctf \
--enable-shared \
--enable-plugins \
--enable-deterministic-archives
@@ -48,7 +47,7 @@ package() {
# Remove file conflicting with host binutils and manpages for MS Windows tools
rm "$pkgdir"/usr/share/man/man1/$_target-{dlltool,windres,windmc}*
-
- # Remove info documents that conflict with host version
rm -r "$pkgdir"/usr/share/info
+ rm "$pkgdir"/usr/lib/libctf*
+ rm "$pkgdir"/usr/include/ctf{,-api}.h
}