-rw-r--r-- root/root usr/include/bfd.h
-rw-r--r-- root/root usr/include/bfdlink.h
-rw-r--r-- root/root usr/include/dis-asm.h
--rw-r--r-- root/root usr/include/libiberty.h
+drwxr-xr-x root/root usr/include/libiberty/
+-rw-r--r-- root/root usr/include/libiberty/ansidecl.h
+-rw-r--r-- root/root usr/include/libiberty/demangle.h
+-rw-r--r-- root/root usr/include/libiberty/dyn-string.h
+-rw-r--r-- root/root usr/include/libiberty/fibheap.h
+-rw-r--r-- root/root usr/include/libiberty/floatformat.h
+-rw-r--r-- root/root usr/include/libiberty/hashtab.h
+-rw-r--r-- root/root usr/include/libiberty/libiberty.h
+-rw-r--r-- root/root usr/include/libiberty/objalloc.h
+-rw-r--r-- root/root usr/include/libiberty/partition.h
+-rw-r--r-- root/root usr/include/libiberty/safe-ctype.h
+-rw-r--r-- root/root usr/include/libiberty/sort.h
+-rw-r--r-- root/root usr/include/libiberty/splay-tree.h
+-rw-r--r-- root/root usr/include/libiberty/timeval-utils.h
-rw-r--r-- root/root usr/include/plugin-api.h
-rw-r--r-- root/root usr/include/symcat.h
drwxr-xr-x root/root usr/lib/
-rw-r--r-- root/root usr/lib/libbfd.a
-rwxr-xr-x root/root usr/lib/libbfd.la
lrwxrwxrwx root/root usr/lib/libbfd.so -> libbfd-2.25.1.so
+-rw-r--r-- root/root usr/lib/libiberty.a
-rwxr-xr-x root/root usr/lib/libopcodes-2.25.1.so
-rw-r--r-- root/root usr/lib/libopcodes.a
-rwxr-xr-x root/root usr/lib/libopcodes.la
name=binutils
version=2.25.1
-release=2
+release=3
source=(ftp://ftp.gnu.org/gnu/$name/$name-$version.tar.bz2)
build() {
--enable-ld=default \
--enable-gold=yes \
--enable-plugins \
+ --enable-install-libiberty \
--disable-werror
make tooldir=/usr
make tooldir=/usr DESTDIR=$PKG install
- 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/lib{bfd,opcodes}.la