From 003727289cc45e29eff0c0c48ad0f9660f96644f Mon Sep 17 00:00:00 2001 From: davidovski Date: Sun, 16 Jan 2022 15:02:47 +0000 Subject: separated patch, build, check and package stages --- repo/system/binutils.xibuild | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'repo/system/binutils.xibuild') diff --git a/repo/system/binutils.xibuild b/repo/system/binutils.xibuild index d305d56..88550bd 100644 --- a/repo/system/binutils.xibuild +++ b/repo/system/binutils.xibuild @@ -6,7 +6,7 @@ PKG_VER=2.37 SOURCE=https://ftp.gnu.org/gnu/binutils/binutils-$PKG_VER.tar.xz DESC="tools for handling object files" -build () { +patch () { curl https://www.linuxfromscratch.org/patches/lfs/development/binutils-$PKG_VER-upstream_fix-1.patch > binutils-$PKG_VER-upstream_fix-1.patch patch -Np1 -i binutils-$PKG_VER-upstream_fix-1.patch @@ -14,7 +14,9 @@ build () { sed -i '63d' etc/texi2pod.pl find -name \*.1 -delete +} +build () { mkdir -v build cd build ../configure --prefix=/usr \ @@ -28,6 +30,9 @@ build () { --with-system-zlib make tooldir=/usr +} + +check () { make -k check || true } -- cgit v1.2.1