From d46648401aee20c4983693e87620f84563e41cb6 Mon Sep 17 00:00:00 2001 From: nbd 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/ramips/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target/linux/ramips') diff --git a/target/linux/ramips/Makefile b/target/linux/ramips/Makefile index f629170ec..10c145a03 100644 --- a/target/linux/ramips/Makefile +++ b/target/linux/ramips/Makefile @@ -10,7 +10,7 @@ ARCH:=mipsel BOARD:=ramips BOARDNAME:=Ralink RT288x/RT305x SUBTARGETS:=rt288x rt305x -CFLAGS:=-Os -pipe -mips32r2 -mtune=mips32r2 -funit-at-a-time +CFLAGS:=-Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves FEATURES:=squashfs LINUX_VERSION:=2.6.36.4 -- cgit v1.2.3