scripts/build/libc/eglibc.sh
changeset 2776 5f557056c530
parent 2586 4f9efd2c6627
child 2809 4cd9134739b5
     1.1 --- a/scripts/build/libc/eglibc.sh	Fri Jul 29 14:42:20 2011 +0200
     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.