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/mpc52xx/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'target/linux/mpc52xx')

diff --git a/target/linux/mpc52xx/Makefile b/target/linux/mpc52xx/Makefile
index b4649e4..3d9c470 100644
--- a/target/linux/mpc52xx/Makefile
+++ b/target/linux/mpc52xx/Makefile
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 ARCH:=powerpc
 BOARD:=mpc52xx
 BOARDNAME:=Freescale MPC52xx
-CFLAGS:=-Os -pipe -funit-at-a-time -mcpu=603e
+CFLAGS:=-Os -pipe -fno-caller-saves -mcpu=603e
 FEATURES:=targz ext4
 
 LINUX_VERSION:=2.6.30.10
-- 
cgit v1.1