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
bindutils: updated to 9.9.7-P1 and updated mandir
[crossrootfs.git]
/
binutils
/
Pkgfile
diff --git
a/binutils/Pkgfile
b/binutils/Pkgfile
index 3e828c5d64ad9db3d236a0f5d807dd0f5c1772c7..13071a81cd8beb68102c1749eb966fe2d7c8ce34 100644
(file)
--- a/
binutils/Pkgfile
+++ b/
binutils/Pkgfile
@@
-5,8
+5,8
@@
# Depends on:
name=binutils
# Depends on:
name=binutils
-version=2.2
2
-release=
1
+version=2.2
5.1
+release=
2
source=(ftp://ftp.gnu.org/gnu/$name/$name-$version.tar.bz2)
build() {
source=(ftp://ftp.gnu.org/gnu/$name/$name-$version.tar.bz2)
build() {
@@
-21,16
+21,19
@@
build() {
--host=$CTARGET \
--target=$CTARGET \
--prefix=/usr \
--host=$CTARGET \
--target=$CTARGET \
--prefix=/usr \
- --mandir=/usr/man \
--enable-shared \
--enable-shared \
- --disable-nls
+ --disable-nls \
+ --enable-ld=default \
+ --enable-gold=yes \
+ --enable-plugins \
+ --disable-werror
- make configure-host
make tooldir=/usr
make tooldir=/usr
- make check
make tooldir=/usr DESTDIR=$PKG install
make tooldir=/usr DESTDIR=$PKG install
- cp ../$name-$version/include/libiberty.h $PKG/usr/include
- rm -r $PKG/usr/share
+ 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
}