diff -r 0535f7bf1069 -r 7dc77b443864 scripts/build/arch/mips.sh --- a/scripts/build/arch/mips.sh Thu Oct 23 13:00:45 2008 +0000 +++ b/scripts/build/arch/mips.sh Tue Jul 13 12:12:32 2010 +0200 @@ -1,8 +1,13 @@ # Compute IA-64-specific values CT_DoArchTupleValues() { - # The architecture part of the tuple: - CT_TARGET_ARCH="${CT_ARCH}${target_endian_el}" + # The architecture part of the tuple, override only for 64-bit + if [ "${CT_ARCH_64}" = "y" ]; then + CT_TARGET_ARCH="mips64${target_endian_el}" + else + # The architecture part of the tuple: + CT_TARGET_ARCH="${CT_ARCH}${target_endian_el}" + fi # Override CFLAGS for endianness: case "${CT_ARCH_BE},${CT_ARCH_LE}" in