summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-11-09 07:38:43 +0000
committerEric Andersen <andersen@codepoet.org>2002-11-09 07:38:43 +0000
commitc159d8fb27d14f3e1fa8d743a30c652a6158eff2 (patch)
treee077417733ab820cb2b27ab28395fa8916d9342b
parent2956cfac1bef5dd50a577f08781b1e2428aa9cc1 (diff)
For arm use -mcpu for the moment, since it seems to work
-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)