diff options
author | Alexey Neyman <stilor@att.net> | 2018-12-07 14:49:03 -0800 |
---|---|---|
committer | Alexey Neyman <stilor@att.net> | 2018-12-07 14:49:03 -0800 |
commit | e85ec884ade523c1aa332d7819c539934f1c860a (patch) | |
tree | 6786b77228ab1391732ecd7a4cd5c719e101860d | |
parent | 854b18b2ac7738bff38010cc35af700cd64af9b6 (diff) | |
download | crosstool-ng-e85ec884ade523c1aa332d7819c539934f1c860a.tar.gz crosstool-ng-e85ec884ade523c1aa332d7819c539934f1c860a.tar.bz2 crosstool-ng-e85ec884ade523c1aa332d7819c539934f1c860a.zip |
Use -mel/-meb for moxie
Signed-off-by: Alexey Neyman <stilor@att.net>
-rw-r--r-- | scripts/build/arch/moxie.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/build/arch/moxie.sh b/scripts/build/arch/moxie.sh index 72c82c93..9545d194 100644 --- a/scripts/build/arch/moxie.sh +++ b/scripts/build/arch/moxie.sh @@ -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 |