diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-03-26 01:07:12 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-03-26 01:07:12 +0000 |
commit | 335877a2b3220b9b0a901fe7af038c04ca1a2e8b (patch) | |
tree | 01e31e4de2584776d90dd776e505dfa637933e13 /target/linux/ramips/Makefile | |
parent | 963b90bb5a2124d4afafbea7e55bbda0a8b0e4a2 (diff) | |
download | upstream-335877a2b3220b9b0a901fe7af038c04ca1a2e8b.tar.gz upstream-335877a2b3220b9b0a901fe7af038c04ca1a2e8b.tar.bz2 upstream-335877a2b3220b9b0a901fe7af038c04ca1a2e8b.zip |
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
Diffstat (limited to 'target/linux/ramips/Makefile')
-rw-r--r-- | target/linux/ramips/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ramips/Makefile b/target/linux/ramips/Makefile index f629170ecd..10c145a03e 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 |