Fix building x86_64 on x86_64 (and hopefully all other *64 archs on the same *64):
- symlink all lib64/ dirs to the corresponding lib/ dir
Also, prevent gcc from installing some of its target libs outside of the sys-root, in the first place.
Thanks to Laurent DUFRECHOU for reporting the bug and testing the fix.
/trunk/scripts/build/cc_gcc.sh | 26 0 26 0 --------------------------
/trunk/scripts/crosstool.sh | 14 14 0 0 ++++++++++++++
2 files changed, 14 insertions(+), 26 deletions(-)
1 --- uClibc.orig/libc/Makefile 2005-07-20 08:10:44.000000000 +0200
2 +++ uclibc/libc/Makefile 2005-07-28 13:33:40.000000000 +0200
4 $(AR) dN 2 $(LIBNAME) $$objs && \
5 $(AR) dN 2 $(LIBNAME) $$objs
6 @for objfile in obj.signal \
7 - obj.string.generic obj.string.$(TARGET_ARCH) obj.string \
8 + obj.string obj.string.generic obj.string.$(TARGET_ARCH) \
9 obj.sysdeps.common obj.sysdeps.$(TARGET_ARCH) ; do \
10 if [ -e $$objfile ] ; then \
11 echo $(AR) $(ARFLAGS) $(LIBNAME) $$objfile ; \