mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-01-03 11:34:09 +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=
|
CT_ARCH_WITH_FLOAT=
|
||||||
|
|
||||||
# Endianness stuff
|
# Endianness stuff
|
||||||
case "${CT_ARCH_BE},${CT_ARCH_LE}" in
|
case "${CT_ARCH_ENDIAN}" in
|
||||||
y,) CT_ARCH_ENDIAN_CFLAG=-mb;;
|
big) CT_ARCH_ENDIAN_CFLAG=-mb;;
|
||||||
,y) CT_ARCH_ENDIAN_CFLAG=-ml;;
|
little) CT_ARCH_ENDIAN_CFLAG=-ml;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# CFLAGS
|
# CFLAGS
|
||||||
|
Loading…
Reference in New Issue
Block a user