diff options
author | Alexey Neyman <stilor@att.net> | 2018-12-07 17:45:11 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-07 17:45:11 -0800 |
commit | 1f65837c01bc6f25b33f4fa108045cb5082f708c (patch) | |
tree | 762a25e20d8d227dddeadb075a9ac7dd97801f88 /scripts/build/arch/moxie.sh | |
parent | 2a4ea327b6af55e40c7cebfe6d6fa79c245cbf26 (diff) | |
parent | 7a7a20bfee243cd0078ba843e6c3dce977d61ec9 (diff) | |
download | crosstool-ng-1f65837c01bc6f25b33f4fa108045cb5082f708c.tar.gz crosstool-ng-1f65837c01bc6f25b33f4fa108045cb5082f708c.tar.bz2 crosstool-ng-1f65837c01bc6f25b33f4fa108045cb5082f708c.zip |
Merge pull request #1112 from stilor/moxie-fix
Moxie fix
Diffstat (limited to 'scripts/build/arch/moxie.sh')
-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 |