Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f208b87b authored by Rich Felker's avatar Rich Felker
Browse files

sh: support CPU_J2 when compiler lacks -mj2



Signed-off-by: default avatarRich Felker <dalias@libc.org>
parent c8d2bc9b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -31,7 +31,7 @@ isa-y := $(isa-y)-up
endif

cflags-$(CONFIG_CPU_SH2)		:= $(call cc-option,-m2,)
cflags-$(CONFIG_CPU_J2)			:= $(call cc-option,-mj2,)
cflags-$(CONFIG_CPU_J2)			+= $(call cc-option,-mj2,)
cflags-$(CONFIG_CPU_SH2A)		+= $(call cc-option,-m2a,) \
					   $(call cc-option,-m2a-nofpu,) \
					   $(call cc-option,-m4-nofpu,)