aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/s3c24xx
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/s3c24xx
parent963b90bb5a2124d4afafbea7e55bbda0a8b0e4a2 (diff)
downloadupstream-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/s3c24xx')
-rw-r--r--target/linux/s3c24xx/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/s3c24xx/Makefile b/target/linux/s3c24xx/Makefile
index 0a051ff137..57f6aa3c72 100644
--- a/target/linux/s3c24xx/Makefile
+++ b/target/linux/s3c24xx/Makefile
@@ -10,7 +10,7 @@ ARCH:=arm
BOARD:=s3c24xx
BOARDNAME:=Samsung S3C24xx
FEATURES:=jffs2
-CFLAGS:=-O2 -pipe -march=armv4t -mtune=arm920t -funit-at-a-time
+CFLAGS:=-O2 -pipe -march=armv4t -mtune=arm920t -fno-caller-saves
SUBTARGETS:=openmoko-gta02
LINUX_VERSION:=2.6.30.10