diff --git a/arch/arc/Makefile b/arch/arc/Makefile index 99cce77ab98f2d79c3dbef3130bff70b91ea076d..dcc0f0cb0ca5dc64cf66117c4f46ef0759f1c0ac 100644 --- a/arch/arc/Makefile +++ b/arch/arc/Makefile @@ -18,7 +18,7 @@ KBUILD_DEFCONFIG := nsim_700_defconfig cflags-y += -fno-common -pipe -fno-builtin -mmedium-calls -D__linux__ cflags-$(CONFIG_ISA_ARCOMPACT) += -mA7 -cflags-$(CONFIG_ISA_ARCV2) += -mcpu=archs +cflags-$(CONFIG_ISA_ARCV2) += -mcpu=hs38 is_700 = $(shell $(CC) -dM -E - < /dev/null | grep -q "ARC700" && echo 1 || echo 0)