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/ar71xx/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target/linux/ar71xx/Makefile') diff --git a/target/linux/ar71xx/Makefile b/target/linux/ar71xx/Makefile index 43a4c6a2d..5b17f90ec 100644 --- a/target/linux/ar71xx/Makefile +++ b/target/linux/ar71xx/Makefile @@ -10,7 +10,7 @@ ARCH:=mips BOARD:=ar71xx BOARDNAME:=Atheros AR71xx/AR7240/AR913x FEATURES:=squashfs jffs2 targz -CFLAGS:=-Os -pipe -mips32r2 -mtune=mips32r2 -funit-at-a-time +CFLAGS:=-Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves SUBTARGETS:=generic nand LINUX_VERSION:=2.6.37.4 -- cgit v1.2.3