From 4fb125dd1d1105e04dd764c5acd3b360e0ce8fd4 Mon Sep 17 00:00:00 2001 From: Cesar Eduardo Barros Date: Sat, 22 Sep 2007 07:39:11 +0000 Subject: binutils: workaround x86_64 problems, should close #2928 --- packages/binutils/binutils-cross.inc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'packages/binutils') diff --git a/packages/binutils/binutils-cross.inc b/packages/binutils/binutils-cross.inc index 74ff4dd7a7..fb966d3c7b 100644 --- a/packages/binutils/binutils-cross.inc +++ b/packages/binutils/binutils-cross.inc @@ -18,13 +18,17 @@ do_stage () { rm -rf ${CROSS_DIR}/share/man rmdir ${CROSS_DIR}/share || : rmdir ${CROSS_DIR}/${libdir}/gcc-lib || : + rmdir ${CROSS_DIR}/${libdir}64/gcc-lib || : rmdir ${CROSS_DIR}/${libdir} || : + rmdir ${CROSS_DIR}/${libdir}64 || : rmdir ${CROSS_DIR}/${prefix} || : # We want to move this into the target specific location mkdir -p ${CROSS_DIR}/${TARGET_SYS}/lib - mv -f ${CROSS_DIR}/lib/libiberty.a ${CROSS_DIR}/${TARGET_SYS}/lib + mv -f ${CROSS_DIR}/lib/libiberty.a ${CROSS_DIR}/${TARGET_SYS}/lib || \ + mv -f ${CROSS_DIR}/lib64/libiberty.a ${CROSS_DIR}/${TARGET_SYS}/lib rmdir ${CROSS_DIR}/lib || : + rmdir ${CROSS_DIR}/lib64 || : } do_install () { -- cgit v1.2.3