binutils: drop libdir hack

This commit is contained in:
q66 2020-12-23 20:19:32 +01:00
parent ef88b72c45
commit e568f558cb

View file

@ -81,12 +81,6 @@ do_check() {
do_install() {
local _triplet=$(_get_triplet)
if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
mkdir -p ${DESTDIR}/usr/lib
cd ${DESTDIR}/usr
ln -s lib lib64
cd ${wrksrc}
fi
make DESTDIR=${DESTDIR} tooldir=/usr install
# Remove ld (hardlink) and make a symlink to ld.bfd.
@ -110,8 +104,6 @@ do_install() {
echo "INPUT ( /usr/lib/libopcodes.a -lbfd )" \
>${DESTDIR}/usr/lib/libopcodes.so
rm -f ${DESTDIR}/usr/lib64
# Remove useless manpages.
for f in dlltool nlmconv windres windmc; do
rm -f ${DESTDIR}/usr/share/man/man1/${f}.1