From 335877a2b3220b9b0a901fe7af038c04ca1a2e8b Mon Sep 17 00:00:00 2001
From: Felix Fietkau <nbd@openwrt.org>
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

SVN-Revision: 26300
---
 target/linux/gemini/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'target/linux/gemini/Makefile')

diff --git a/target/linux/gemini/Makefile b/target/linux/gemini/Makefile
index 9a63f751e1..ee602eef72 100644
--- a/target/linux/gemini/Makefile
+++ b/target/linux/gemini/Makefile
@@ -10,7 +10,7 @@ ARCH:=arm
 BOARD:=gemini
 BOARDNAME:=Cortina Systems CS351x
 FEATURES:=squashfs
-CFLAGS:=-Os -pipe -march=armv4 -mtune=fa526 -funit-at-a-time
+CFLAGS:=-Os -pipe -march=armv4 -mtune=fa526 -fno-caller-saves
 MAINTAINER:=Imre Kaloz <kaloz@openwrt.org>
 
 LINUX_VERSION:=2.6.37.4
-- 
cgit v1.2.3