summaryrefslogtreecommitdiffstats
path: root/base/binutils/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'base/binutils/Pkgfile')
-rwxr-xr-xbase/binutils/Pkgfile8
1 files changed, 2 insertions, 6 deletions
diff --git a/base/binutils/Pkgfile b/base/binutils/Pkgfile
index 4b2e56ab0..ecdcdabff 100755
--- a/base/binutils/Pkgfile
+++ b/base/binutils/Pkgfile
@@ -4,7 +4,7 @@
# Packager: thierryn1 at hispeed dot ch
name=binutils
-version=2.20.1
+version=2.21
release=1
source=(ftp://ftp.gnu.org/gnu/$name/$name-$version.tar.bz2)
@@ -14,9 +14,6 @@ cd $name-$version
rm -fv etc/standards.info
sed -i.bak '/^INFO/s/standards.info //' etc/Makefile.in
-sed -i -e 's/getline/get_line/' libiberty/testsuite/test-demangle.c
-
-
mkdir ../binutils-build
cd ../binutils-build
../$name-$version/configure --prefix=/usr \
@@ -24,10 +21,9 @@ cd ../binutils-build
--infodir=/usr/share/info \
--enable-shared
make tooldir=/usr
-make check
+make -k check||true
make tooldir=/usr DESTDIR=$PKG install
cp ../$name-$version/include/libiberty.h $PKG/usr/include
rm $PKG/usr/share/info/dir
sed -i "s|-L$SRC[^ ]* ||g" $PKG/usr/lib/libbfd.la
-
}