diff --git a/arch/arc/config.mk b/arch/arc/config.mk index 13676bd0c8..3ed0c282ba 100644 --- a/arch/arc/config.mk +++ b/arch/arc/config.mk @@ -50,7 +50,7 @@ ifdef CONFIG_CPU_ARCHS38 PLATFORM_CPPFLAGS += -mcpu=archs endif -PLATFORM_CPPFLAGS += -ffixed-r25 -D__ARC__ -gdwarf-2 +PLATFORM_CPPFLAGS += -ffixed-r25 -D__ARC__ -gdwarf-2 -mno-sdata # Needed for relocation LDFLAGS_FINAL += -pie