Skip to contentSkip to conversation

arc: Use "-mcpu=archs" instead of deprecated "-marchs" for ARC HS

PATCH New Alexey Brodkin 1 participant 1 message Jun 16, 2016 Synopsys ARC architecture

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arc: Use "-mcpu=archs" instead of deprecated "-marchs" for ARC HS

Newer ARC toolchains don't support "-marchs" option any longer. Instead "-mcpu=archs" should be used. What's also important older toiolchains that support ARC HS cores will also happily accept "-mcpu=archs" so that's a very safe move.

---
 arch/arc/config.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arc/config.mk +2 -2
index 74943d9..7c974f0 100644
@@ -43,11 +43,11 @@ PLATFORM_CPPFLAGS += -marcem
 endif
 
 ifdef CONFIG_CPU_ARCHS34
-PLATFORM_CPPFLAGS += -marchs
+PLATFORM_CPPFLAGS += -mcpu=archs
 endif
 
 ifdef CONFIG_CPU_ARCHS38
-PLATFORM_CPPFLAGS += -marchs
+PLATFORM_CPPFLAGS += -mcpu=archs
 endif
 
 PLATFORM_CPPFLAGS += -ffixed-r25 -D__ARC__ -gdwarf-2
Signature · 1 line
2.5.5