summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-11-07 08:03:32 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-11-07 08:03:32 (GMT)
commit15d657ce4e82ba273b27bc154cfdb7bd4bc470d5 (patch)
tree0a96c61760b5e24e94a646450e80cf37e2e83ec6
parentfd8f312091c2ea604645ece97cc427193db32827 (diff)
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(-)
-rw-r--r--scripts/build/libc/glibc.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/build/libc/glibc.sh b/scripts/build/libc/glibc.sh
index 7401867..02dfe63 100644
--- a/scripts/build/libc/glibc.sh
+++ b/scripts/build/libc/glibc.sh
@@ -479,11 +479,13 @@ do_libc() {
#
# 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}'"