binutils: force libiberty install
it is also not necessary to manually install the headers anymore
This commit is contained in:
parent
a26d7bc937
commit
154734947c
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'binutils'
|
# Template file for 'binutils'
|
||||||
pkgname=binutils
|
pkgname=binutils
|
||||||
version=2.35.1
|
version=2.35.1
|
||||||
revision=2
|
revision=3
|
||||||
bootstrap=yes
|
bootstrap=yes
|
||||||
short_desc="GNU binary utilities"
|
short_desc="GNU binary utilities"
|
||||||
maintainer="Enno Boland <gottox@voidlinux.org>"
|
maintainer="Enno Boland <gottox@voidlinux.org>"
|
||||||
|
@ -85,6 +85,7 @@ do_configure() {
|
||||||
--enable-deterministic-archives \
|
--enable-deterministic-archives \
|
||||||
--enable-64-bit-bfd \
|
--enable-64-bit-bfd \
|
||||||
--enable-ld=default \
|
--enable-ld=default \
|
||||||
|
--enable-install-libiberty \
|
||||||
--with-system-zlib \
|
--with-system-zlib \
|
||||||
--with-mmap \
|
--with-mmap \
|
||||||
--with-pic \
|
--with-pic \
|
||||||
|
@ -115,10 +116,6 @@ do_install() {
|
||||||
rm -f ${DESTDIR}/usr/bin/ld
|
rm -f ${DESTDIR}/usr/bin/ld
|
||||||
ln -sfr ${DESTDIR}/usr/bin/ld.bfd ${DESTDIR}/usr/bin/ld
|
ln -sfr ${DESTDIR}/usr/bin/ld.bfd ${DESTDIR}/usr/bin/ld
|
||||||
|
|
||||||
# Add some useful headers
|
|
||||||
vinstall include/libiberty.h 644 usr/include
|
|
||||||
vinstall include/demangle.h 644 usr/include
|
|
||||||
|
|
||||||
# Remove these symlinks, they are not ABI stable.
|
# Remove these symlinks, they are not ABI stable.
|
||||||
# Programs should compile static to the .a file.
|
# Programs should compile static to the .a file.
|
||||||
rm -f ${DESTDIR}/usr/lib/lib{bfd,opcodes}.so
|
rm -f ${DESTDIR}/usr/lib/lib{bfd,opcodes}.so
|
||||||
|
|
Loading…
Reference in New Issue