Use -mel/-meb for moxie

Signed-off-by: Alexey Neyman <stilor@att.net>
This commit is contained in:
Alexey Neyman 2018-12-07 14:49:03 -08:00
parent 854b18b2ac
commit e85ec884ad

View File

@ -3,6 +3,11 @@
# No arch-specific overrides yet
CT_DoArchTupleValues()
{
case "${CT_ARCH_ENDIAN}" in
big) CT_ARCH_ENDIAN_CFLAG=-meb;;
little) CT_ARCH_ENDIAN_CFLAG=-mel;;
esac
case "${CT_LIBC}" in
moxiebox)
CT_TARGET_SYS=moxiebox