summaryrefslogtreecommitdiff
path: root/target/linux/imx21/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-03-26 01:07:12 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-03-26 01:07:12 +0000
commit335877a2b3220b9b0a901fe7af038c04ca1a2e8b (patch)
tree01e31e4de2584776d90dd776e505dfa637933e13 /target/linux/imx21/Makefile
parent963b90bb5a2124d4afafbea7e55bbda0a8b0e4a2 (diff)
downloadmtk-20170518-335877a2b3220b9b0a901fe7af038c04ca1a2e8b.zip
mtk-20170518-335877a2b3220b9b0a901fe7af038c04ca1a2e8b.tar.gz
mtk-20170518-335877a2b3220b9b0a901fe7af038c04ca1a2e8b.tar.bz2
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/imx21/Makefile')
-rw-r--r--target/linux/imx21/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/imx21/Makefile b/target/linux/imx21/Makefile
index be326af..8d46dd1 100644
--- a/target/linux/imx21/Makefile
+++ b/target/linux/imx21/Makefile
@@ -10,7 +10,7 @@ ARCH:=arm
BOARD:=imx21
BOARDNAME:=Freescale i.MX21
FEATURES:=jffs2 broken
-CFLAGS:=-Os -pipe -march=armv5te -mtune=arm926ej-s -funit-at-a-time
+CFLAGS:=-Os -pipe -march=armv5te -mtune=arm926ej-s -fno-caller-saves
LINUX_VERSION:=2.6.37.4