summaryrefslogtreecommitdiff
path: root/Rules.mak
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-11-02 07:04:36 +0100
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2015-11-03 18:39:11 +0100
commitc797b9909cb53015c0a240a14d2788010f8b4f08 (patch)
tree8606eb0830d9b404616ae91844b1d550d363623a /Rules.mak
parent6d40500590bd17ba77fa6d9daa27e5c546e8d2e5 (diff)
sh4a: allow to build a sh4a toolchain
Add correct compiler settings.
Diffstat (limited to 'Rules.mak')
-rw-r--r--Rules.mak2
1 files changed, 2 insertions, 0 deletions
diff --git a/Rules.mak b/Rules.mak
index 063873b9c..761bb749b 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -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