CRUX-ARM :
Home
Home
::
Documentation
::
Download
::
Development
::
Community
::
Ports
::
Packages
::
Bugs
::
Links
::
About
::
Donors
development
/
crossrootfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
libgmp: updated to 6.1.2
[crossrootfs.git]
/
binutils
/
Pkgfile
diff --git
a/binutils/Pkgfile
b/binutils/Pkgfile
index e787a95a6b828439f0f2bdc65a6db3d8b1d9fd81..13071a81cd8beb68102c1749eb966fe2d7c8ce34 100644
(file)
--- a/
binutils/Pkgfile
+++ b/
binutils/Pkgfile
@@
-1,20
+1,18
@@
# Description: The GNU Binutils are a collection of binary tools
# URL: http://sources.redhat.com/binutils/
# Maintainer: CRUX System Team, core-ports at crux dot nu
# Description: The GNU Binutils are a collection of binary tools
# URL: http://sources.redhat.com/binutils/
# Maintainer: CRUX System Team, core-ports at crux dot nu
-# Arch Maintainer: CRUX-ARM System Team, devel
@crux-arm.
nu
+# Arch Maintainer: CRUX-ARM System Team, devel
at crux-arm dot
nu
# Depends on:
name=binutils
# Depends on:
name=binutils
-version=2.19.1
-release=1
-source=(ftp://ftp.gnu.org/gnu/$name/$name-$version.tar.bz2 \
- $name-$version-branch_update-5.patch)
+version=2.25.1
+release=2
+source=(ftp://ftp.gnu.org/gnu/$name/$name-$version.tar.bz2)
build() {
build() {
- cd $name-$version
- patch -p1 -i $SRC/$name-$version-branch_update-5.patch
- sed -i '/^SUBDIRS/s/doc//' bfd/Makefile.in
-
+ sed -i '/^SUBDIRS/s/doc//' $name-$version/bfd/Makefile.in
+ sed -i '/^# RELEASE=y/s/#//' $name-$version/bfd/Makefile.in
+ sed -i 's|really-check: check-cplus-dem check-pexecute check-expandargv|really-check:|g' -i $name-$version/libiberty/testsuite/Makefile.in
mkdir $SRC/build
cd $SRC/build
mkdir $SRC/build
cd $SRC/build
@@
-22,16
+20,20
@@
build() {
$SRC/$name-$version/configure --build=$CHOST \
--host=$CTARGET \
--target=$CTARGET \
$SRC/$name-$version/configure --build=$CHOST \
--host=$CTARGET \
--target=$CTARGET \
- --without-multilib \
--prefix=/usr \
--prefix=/usr \
- --disable-shared \
- --disable-nls
+ --enable-shared \
+ --disable-nls \
+ --enable-ld=default \
+ --enable-gold=yes \
+ --enable-plugins \
+ --disable-werror
- make configure-host
make tooldir=/usr
make tooldir=/usr DESTDIR=$PKG install
make tooldir=/usr
make tooldir=/usr DESTDIR=$PKG install
- cp ../$name-$version/include/libiberty.h $PKG/usr/include
- rm -rf $PKG/usr/info
+ install -m 0644 ../$name-$version/include/libiberty.h $PKG/usr/include
+
+ rm -r $PKG/usr/share/info
+ rm $PKG/usr/share/man/man1/{dlltool,nlmconv,windres,windmc}.1
sed -i "s|-L$SRC[^ ]* ||g" $PKG/usr/lib/libbfd.la
}
sed -i "s|-L$SRC[^ ]* ||g" $PKG/usr/lib/libbfd.la
}