summaryrefslogtreecommitdiff
path: root/scripts/build/libc/eglibc.sh
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2011-11-20 20:06:36 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2011-11-20 20:06:36 (GMT)
commit756d7e704ecb0ca41b28c3ed1023e04f508a0c70 (patch)
tree7c4a71f3c89415b8b7d2ddbec34d40b28206ee8f /scripts/build/libc/eglibc.sh
parent0056e55e74e3aacc16cdd0f06e23e1b6a332f106 (diff)
libc/eglibc: use endian string in tests
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Diffstat (limited to 'scripts/build/libc/eglibc.sh')
-rw-r--r--scripts/build/libc/eglibc.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/build/libc/eglibc.sh b/scripts/build/libc/eglibc.sh
index 3df47cc..11a3341 100644
--- a/scripts/build/libc/eglibc.sh
+++ b/scripts/build/libc/eglibc.sh
@@ -152,9 +152,9 @@ do_libc_locales() {
CT_DoExecLog ALL make ${JOBSFLAGS}
# Set the localedef endianness option
- case "${CT_ARCH_BE},${CT_ARCH_LE}" in
- y,) localedef_opts+=(--big-endian);;
- ,y) localedef_opts+=(--little-endian);;
+ case "${CT_ARCH_ENDIAN}" in
+ big) localedef_opts+=(--big-endian);;
+ little) localedef_opts+=(--little-endian);;
esac
# Set the localedef option for the target's uint32_t alignment in bytes.