From d46648401aee20c4983693e87620f84563e41cb6 Mon Sep 17 00:00:00 2001
From: nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Date: Sat, 26 Mar 2011 01:07:12 +0000
Subject: global cflags: remove -funit-at-a-time, it is ignored by recent
 compilers. instead add -fno-caller-saves, which improves compression ratio
 for generated code with no apparent negative effects on performance

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26300 3c298f89-4303-0410-b956-a3cf2f4a3e73
---
 target/linux/goldfish/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'target/linux/goldfish')

diff --git a/target/linux/goldfish/Makefile b/target/linux/goldfish/Makefile
index 84342fded..8bb3e61b8 100644
--- a/target/linux/goldfish/Makefile
+++ b/target/linux/goldfish/Makefile
@@ -10,7 +10,7 @@ ARCH:=arm
 BOARD:=goldfish
 BOARDNAME:=Goldfish (Android Emulator)
 FEATURES:=
-CFLAGS:=-O2 -pipe -march=armv5te -mtune=xscale -funit-at-a-time
+CFLAGS:=-O2 -pipe -march=armv5te -mtune=xscale -fno-caller-saves
 
 LINUX_VERSION:=2.6.30.10
 
-- 
cgit v1.2.3