From c844236c36d3ce78066fc003c76943927097ac97 Mon Sep 17 00:00:00 2001
From: Felix Fietkau <nbd@openwrt.org>
Date: Wed, 11 Jul 2007 05:18:19 +0000
Subject: [PATCH] fix cflags for xscale (#2026)

SVN-Revision: 7910
---
 toolchain/Config.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/toolchain/Config.in b/toolchain/Config.in
index bdce62c7bf..956c745be2 100644
--- a/toolchain/Config.in
+++ b/toolchain/Config.in
@@ -53,7 +53,7 @@ config TARGET_OPTIMIZATION
 	default "-O2 -pipe -march=i486 -funit-at-a-time" if LINUX_2_6_X86
 	default "-Os -pipe -march=i486 -funit-at-a-time" if LINUX_2_6_RDC
 	default "-Os -pipe -mips32 -mtune=mips32 -funit-at-a-time" if mipsel || mips
-	default "-Os -pipe -mcpu=xscale -funit-at-a-time" if armeb
+	default "-Os -pipe -march=armv5te -mtune=xscale -funit-at-a-time" if armeb
 	default "-Os -pipe -funit-at-a-time"
 	help
 	  Optimizations to use when building for the target host.
-- 
GitLab