diff options
-rw-r--r-- | Rules.mak | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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) |