summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Rules.mak6
1 files changed, 3 insertions, 3 deletions
diff --git a/Rules.mak b/Rules.mak
index d63ff55b5..f1930900f 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -132,9 +132,9 @@ endif
ifeq ($(strip $(TARGET_ARCH)),arm)
OPTIMIZATION+=-fstrict-aliasing
CPU_CFLAGS-$(CONFIG_GENERIC_ARM):=
- CPU_CFLAGS-$(CONFIG_ARM7TDMI):="-march=arm7tdmi"
- CPU_CFLAGS-$(CONFIG_STRONGARM):="-march=strongarm"
- CPU_CFLAGS-$(CONFIG_XSCALE):="$(call check_gcc,-march=xscale,-march=strongarm)"
+ CPU_CFLAGS-$(CONFIG_ARM7TDMI):="-mcpu=arm7tdmi"
+ CPU_CFLAGS-$(CONFIG_STRONGARM):="-mcpu=strongarm"
+ CPU_CFLAGS-$(CONFIG_XSCALE):="$(call check_gcc,-mcpu=xscale,-mcpu=strongarm)"
endif
ifeq ($(strip $(TARGET_ARCH)),sh)