The kernel patch from the squashfs-3.1r2 release does not compile on my armeb-linux-gcc 4.1.1 when optimizing for size (-Os). This works around that problem by using optimization flag -O2 instead for these two files. Signed-off-by: Leon Woestenberg Index: linux-2.6.20-rc1-git5/fs/squashfs/Makefile =================================================================== --- linux-2.6.20-rc1-git5.orig/fs/squashfs/Makefile 2006-12-19 22:37:48.160152713 +0000 +++ linux-2.6.20-rc1-git5/fs/squashfs/Makefile 2006-12-19 22:38:01.921012712 +0000 @@ -5,3 +5,6 @@ obj-$(CONFIG_SQUASHFS) += squashfs.o squashfs-y += inode.o squashfs-y += squashfs2_0.o + +CFLAGS_squashfs2_0.o = "-O2" +CFLAGS_inode.o = "-O2"