summaryrefslogtreecommitdiffstats
path: root/target/linux/s3c24xx
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-03-26 01:07:12 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-03-26 01:07:12 +0000
commitd46648401aee20c4983693e87620f84563e41cb6 (patch)
tree382c5fca0553805fc90c7540e5d3154787ba9786 /target/linux/s3c24xx
parentb179f71e7dbb7419149069faaaeff8fa06daa85c (diff)
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
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 0a051ff13..57f6aa3c7 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