arch/sh: use endian string in tests

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
This commit is contained in:
Yann E. MORIN" 2011-11-20 21:05:36 +01:00
parent dc5048b6d2
commit 0056e55e74

View File

@ -13,9 +13,9 @@ CT_DoArchTupleValues () {
CT_ARCH_WITH_FLOAT=
# Endianness stuff
case "${CT_ARCH_BE},${CT_ARCH_LE}" in
y,) CT_ARCH_ENDIAN_CFLAG=-mb;;
,y) CT_ARCH_ENDIAN_CFLAG=-ml;;
case "${CT_ARCH_ENDIAN}" in
big) CT_ARCH_ENDIAN_CFLAG=-mb;;
little) CT_ARCH_ENDIAN_CFLAG=-ml;;
esac
# CFLAGS