# HG changeset patch # User "Yann E. MORIN" # Date 1226045012 0 # Node ID f30de763bcce29c569f1ef8188a0f1e634bace94 # Parent 06aecfa2c35562f322449790b9adab101dfdad29 Do not take lib64/ in account when fixing the glibc linker scripts: - lib64 dirs are symlinks to the corresponding lib/ dirs. /trunk/scripts/build/libc/glibc.sh | 4 3 1 0 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff -r 06aecfa2c355 -r f30de763bcce scripts/build/libc/glibc.sh --- a/scripts/build/libc/glibc.sh Tue Nov 04 18:52:59 2008 +0000 +++ b/scripts/build/libc/glibc.sh Fri Nov 07 08:03:32 2008 +0000 @@ -479,11 +479,13 @@ # # Remove lines containing BUG per http://sources.redhat.com/ml/bug-glibc/2003-05/msg00055.html, # needed to fix gcc-3.2.3/glibc-2.3.2 targeting arm + # No need to look into the lib64/ dirs here and there, they point to the + # corresponding lib/ directories. # # To make "strip *.so.*" not fail (ptxdist does this), rename to .so_orig rather than .so.orig CT_DoLog EXTRA "Fixing C library linker scripts" for file in libc.so libpthread.so libgcc_s.so; do - for dir in lib lib64 usr/lib usr/lib64; do + for dir in lib usr/lib; do if [ -f "${CT_SYSROOT_DIR}/${dir}/${file}" -a ! -L ${CT_SYSROOT_DIR}/$lib/$file ]; then CT_DoExecLog ALL cp -v "${CT_SYSROOT_DIR}/${dir}/${file}" "${CT_SYSROOT_DIR}/${dir}/${file}_orig" CT_DoLog DEBUG "Fixing '${CT_SYS_ROOT_DIR}/${dir}/${file}'"