Skip to content

Commit f208b87

Browse files
author
Rich Felker
committed
sh: support CPU_J2 when compiler lacks -mj2
Signed-off-by: Rich Felker <dalias@libc.org>
1 parent c8d2bc9 commit f208b87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/sh/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ isa-y := $(isa-y)-up
3131
endif
3232

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

0 commit comments

Comments
 (0)