summaryrefslogtreecommitdiff
path: root/repo/core/binutils.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-01-13 19:49:37 +0000
committerdavidovski <david@davidovski.xyz>2022-01-13 19:49:37 +0000
commit2e534f6dcdbca6700bc18354925986b054330725 (patch)
tree39e6233e6e0c9fb737ce5c1987039c3a10df193c /repo/core/binutils.xibuild
parent31741d5c284261ef59b0ce8839b47ff44a2f6bf7 (diff)
fixed issues with headers
cleaned other packages to fit better with lfs
Diffstat (limited to 'repo/core/binutils.xibuild')
-rw-r--r--repo/core/binutils.xibuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/repo/core/binutils.xibuild b/repo/core/binutils.xibuild
index 704db29..96d2088 100644
--- a/repo/core/binutils.xibuild
+++ b/repo/core/binutils.xibuild
@@ -6,6 +6,9 @@ SOURCE=https://ftp.gnu.org/gnu/binutils/binutils-2.37.tar.xz
DESC="tools for handling object files"
build () {
+ curl https://www.linuxfromscratch.org/patches/lfs/development/binutils-2.37-upstream_fix-1.patch > binutils-2.37-upstream_fix-1.patch
+ patch -Np1 -i binutils-2.37-upstream_fix-1.patch
+
# An error in the building system causes the shipped man pages to be empty. Workaround the issue and remove the shipped man pages, so the man pages will be regenerated correctly:
sed -i '63d' etc/texi2pod.pl
@@ -23,11 +26,11 @@ build () {
--with-system-zlib
make tooldir=/usr
- make -k check
- make -j1 DESTDIR=$PKG_DEST install
+ make -k check || true
}
package() {
+ make -j1 DESTDIR=$PKG_DEST -j1 install
rm -fv $PKG_DEST/usr/lib/lib{bfd,ctf,ctf-nobfd,opcodes}.a
}