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 # ARM specific configuration file
4 select ARCH_SUPPORTS_BOTH_ENDIAN
6 select ARCH_SUPPORT_ARCH
7 select ARCH_SUPPORT_ABI
8 select ARCH_SUPPORT_CPU
9 select ARCH_SUPPORT_TUNE
10 select ARCH_SUPPORT_FPU
12 The ARM architecture, as defined by:
17 prompt "Use EABI (EXPERIMENTAL)"
18 depends on EXPERIMENTAL
21 Set up the toolchain so that it generates EABI-compliant binaries.
24 default "aapcs" if ARCH_ARM_EABI