aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/realview
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
commitc251184c282f2d67e3c4a1cf43073e3f13dfeee0 (patch)
tree382c5fca0553805fc90c7540e5d3154787ba9786 /target/linux/realview
parenta4f2f1ed3aad70b98c22b88201bcdb74d446d6f2 (diff)
downloadupstream-c251184c282f2d67e3c4a1cf43073e3f13dfeee0.tar.gz
upstream-c251184c282f2d67e3c4a1cf43073e3f13dfeee0.tar.bz2
upstream-c251184c282f2d67e3c4a1cf43073e3f13dfeee0.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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26300 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/realview')
-rw-r--r--target/linux/realview/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/realview/Makefile b/target/linux/realview/Makefile
index 5785fdd473..ddc8d70ec9 100644
--- a/target/linux/realview/Makefile
+++ b/target/linux/realview/Makefile
@@ -10,7 +10,7 @@ ARCH:=arm
BOARD:=realview
BOARDNAME:=ARM Ltd. Realview board (qemu)
FEATURES:=squashfs jffs2 fpu
-CFLAGS:=-Os -pipe -march=armv6k -mtune=mpcore -mfloat-abi=softfp -mfpu=vfp -funit-at-a-time
+CFLAGS:=-Os -pipe -march=armv6k -mtune=mpcore -mfloat-abi=softfp -mfpu=vfp -fno-caller-saves
LINUX_VERSION:=2.6.37.4