1.1 --- a/scripts/build/libc/eglibc.sh Sun Nov 20 21:05:36 2011 +0100
1.2 +++ b/scripts/build/libc/eglibc.sh Sun Nov 20 21:06:36 2011 +0100
1.3 @@ -152,9 +152,9 @@
1.4 CT_DoExecLog ALL make ${JOBSFLAGS}
1.5
1.6 # Set the localedef endianness option
1.7 - case "${CT_ARCH_BE},${CT_ARCH_LE}" in
1.8 - y,) localedef_opts+=(--big-endian);;
1.9 - ,y) localedef_opts+=(--little-endian);;
1.10 + case "${CT_ARCH_ENDIAN}" in
1.11 + big) localedef_opts+=(--big-endian);;
1.12 + little) localedef_opts+=(--little-endian);;
1.13 esac
1.14
1.15 # Set the localedef option for the target's uint32_t alignment in bytes.