diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-04-15 20:17:29 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-04-15 20:17:29 +0200 |
commit | 2ec757233179928bb4d8d514509d88f1b2235783 (patch) | |
tree | 5008981dd9f6715376b75e81e58b1acb2c3afd2a /toolchain/gcc/Makefile | |
parent | ea1244a1bec5a938e032c0a06389b82305651019 (diff) |
fix superh big endian compile for musl
Diffstat (limited to 'toolchain/gcc/Makefile')
-rw-r--r-- | toolchain/gcc/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile index eee524ba3..63d0237c3 100644 --- a/toolchain/gcc/Makefile +++ b/toolchain/gcc/Makefile @@ -40,6 +40,11 @@ GCC_FINAL_CONFOPTS+= --disable-biarch --disable-multilib endif ifeq ($(ADK_LINUX_SH),y) +ifeq ($(ADK_little),y) +GCC_CONFOPTS+= --with-endian=little +else +GCC_CONFOPTS+= --with-endian=big +endif GCC_FINAL_CONFOPTS+= --enable-multilib --with-multilib-list=m4,m4-nofpu endif |