summaryrefslogtreecommitdiffstats
path: root/binutils/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'binutils/Pkgfile')
-rwxr-xr-xbinutils/Pkgfile4
1 files changed, 3 insertions, 1 deletions
diff --git a/binutils/Pkgfile b/binutils/Pkgfile
index 39905c47b..98f5fbb93 100755
--- a/binutils/Pkgfile
+++ b/binutils/Pkgfile
@@ -6,7 +6,7 @@
name=binutils
version=2.22
release=1
-source=(ftp://ftp.gnu.org/gnu/$name/$name-$version.tar.bz2)
+source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.bz2)
build() {
cd $name-$version
@@ -20,9 +20,11 @@ build() {
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--enable-shared
+
make tooldir=/usr
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