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 dd3a6cab0..97aa4b6fc 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):="-mcpu=arm7tdmi"
- CPU_CFLAGS-$(CONFIG_STRONGARM):="-mcpu=strongarm"
- CPU_CFLAGS-$(CONFIG_XSCALE):="$(call check_gcc,-mcpu=xscale,-mcpu=strongarm)"
+ CPU_CFLAGS-$(CONFIG_ARM7TDMI):="-mtune=arm7tdmi"
+ CPU_CFLAGS-$(CONFIG_STRONGARM):="-mtune=strongarm"
+ CPU_CFLAGS-$(CONFIG_XSCALE):="-mtune=xscale"
endif
ifeq ($(strip $(TARGET_ARCH)),sh)