mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-22 22:22:23 +00:00
0dad6065a6
Fix endianness CFLAGS for MIPS. /trunk/scripts/functions | 1 1 0 0 + /trunk/arch/mips/functions | 6 6 0 0 ++++++ 2 files changed, 7 insertions(+)
13 lines
320 B
Plaintext
13 lines
320 B
Plaintext
# Compute IA-64-specific values
|
|
|
|
CT_DoArchValues() {
|
|
# The architecture part of the tuple:
|
|
CT_TARGET_ARCH="${CT_ARCH}${target_endian_el}"
|
|
|
|
# Override CFLAGS for endianness:
|
|
case "${CT_ARCH_BE},${CT_ARCH_LE}" in
|
|
y,) CT_ARCH_ENDIAN_CFLAG="-EB";;
|
|
,y) CT_ARCH_ENDIAN_CFLAG="-EL";;
|
|
esac
|
|
}
|