summaryrefslogtreecommitdiff
path: root/Rules.mak
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-02-15 21:17:10 +0000
committerEric Andersen <andersen@codepoet.org>2003-02-15 21:17:10 +0000
commit6fefa715420bad76727a4105922e5419a52f753d (patch)
treeb4e35955fd61e166be5ddb64df5423b92522bc18 /Rules.mak
parent3c72f1e3163769bfdfbce75bf0dd4b0c10e7df8f (diff)
Don't just tune, use -march which implies -mcpu as well
Diffstat (limited to 'Rules.mak')
-rw-r--r--Rules.mak6
1 files changed, 3 insertions, 3 deletions
diff --git a/Rules.mak b/Rules.mak
index 4ca3e2a8a..ec4978de9 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -128,9 +128,9 @@ endif
ifeq ($(strip $(TARGET_ARCH)),arm)
OPTIMIZATION+=-fstrict-aliasing
CPU_CFLAGS-$(CONFIG_GENERIC_ARM):=
- CPU_CFLAGS-$(CONFIG_ARM7TDMI):="-mtune=arm7tdmi"
- CPU_CFLAGS-$(CONFIG_STRONGARM):="-mtune=strongarm"
- CPU_CFLAGS-$(CONFIG_XSCALE):="-mtune=xscale"
+ CPU_CFLAGS-$(CONFIG_ARM7TDMI):="-march=arm7tdmi"
+ CPU_CFLAGS-$(CONFIG_STRONGARM):="-march=strongarm"
+ CPU_CFLAGS-$(CONFIG_XSCALE):="-march=xscale"
endif
ifeq ($(strip $(TARGET_ARCH)),sh)