diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2015-11-02 07:04:36 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2015-11-03 18:39:11 +0100 |
commit | c797b9909cb53015c0a240a14d2788010f8b4f08 (patch) | |
tree | 8606eb0830d9b404616ae91844b1d550d363623a /Rules.mak | |
parent | 6d40500590bd17ba77fa6d9daa27e5c546e8d2e5 (diff) |
sh4a: allow to build a sh4a toolchain
Add correct compiler settings.
Diffstat (limited to 'Rules.mak')
-rw-r--r-- | Rules.mak | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -422,9 +422,11 @@ $(eval $(call check-gcc-var,-mprefergot)) ifeq ($(UCLIBC_HAS_FPU),y) CPU_CFLAGS-$(CONFIG_SH2A)+=-m2a CPU_CFLAGS-$(CONFIG_SH4)+=-m4 + CPU_CFLAGS-$(CONFIG_SH4A)+=-m4a else CPU_CFLAGS-$(CONFIG_SH2A)+=-m2a-nofpu CPU_CFLAGS-$(CONFIG_SH4)+=-m4-nofpu + CPU_CFLAGS-$(CONFIG_SH4A)+=-m4a-nofpu endif endif |