mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-22 22:22:23 +00:00
arch/sh: use endian string in tests
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
This commit is contained in:
parent
dc5048b6d2
commit
0056e55e74
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user