binutils: drop libdir hack
This commit is contained in:
parent
ef88b72c45
commit
e568f558cb
|
@ -81,12 +81,6 @@ do_check() {
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
local _triplet=$(_get_triplet)
|
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
|
make DESTDIR=${DESTDIR} tooldir=/usr install
|
||||||
|
|
||||||
# Remove ld (hardlink) and make a symlink to ld.bfd.
|
# Remove ld (hardlink) and make a symlink to ld.bfd.
|
||||||
|
@ -110,8 +104,6 @@ do_install() {
|
||||||
echo "INPUT ( /usr/lib/libopcodes.a -lbfd )" \
|
echo "INPUT ( /usr/lib/libopcodes.a -lbfd )" \
|
||||||
>${DESTDIR}/usr/lib/libopcodes.so
|
>${DESTDIR}/usr/lib/libopcodes.so
|
||||||
|
|
||||||
rm -f ${DESTDIR}/usr/lib64
|
|
||||||
|
|
||||||
# Remove useless manpages.
|
# Remove useless manpages.
|
||||||
for f in dlltool nlmconv windres windmc; do
|
for f in dlltool nlmconv windres windmc; do
|
||||||
rm -f ${DESTDIR}/usr/share/man/man1/${f}.1
|
rm -f ${DESTDIR}/usr/share/man/man1/${f}.1
|
||||||
|
|
Loading…
Reference in New Issue