arch/mips/functions
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun Jul 27 16:54:28 2008 +0000 (2008-07-27)
branch1.2
changeset 742 0aabeb36e6ae
parent 387 2fa4b675a9a3
permissions -rw-r--r--
Backport #878 from trunk:
Fix building x86_64 on x86_64 (and hopefully all other *64 archs on the same *64).

/branches/1.2/scripts/build/cc_gcc.sh | 26 0 26 0 --------------------------
/branches/1.2/scripts/crosstool.sh | 14 14 0 0 ++++++++++++++
2 files changed, 14 insertions(+), 26 deletions(-)
     1 # Compute IA-64-specific values
     2 
     3 CT_DoArchValues() {
     4     # The architecture part of the tuple:
     5     CT_TARGET_ARCH="${CT_ARCH}${target_endian_el}"
     6 
     7     # Override CFLAGS for endianness:
     8     case "${CT_ARCH_BE},${CT_ARCH_LE}" in
     9         y,) CT_ARCH_ENDIAN_CFLAG="-EB";;
    10         ,y) CT_ARCH_ENDIAN_CFLAG="-EL";;
    11     esac
    12 }