--- yaffs2-20141016git/utils/Makefile.orig 2019-01-19 00:25:12.552050531 +0100 +++ yaffs2-20141016git/utils/Makefile 2019-01-19 00:25:18.597078500 +0100 @@ -17,7 +17,7 @@ CFLAGS = -O2 -Wall -Werror -DCONFIG_YAFFS_UTIL CFLAGS+= -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -CFLAGS+= -Wmissing-prototypes -Wredundant-decls -Wnested-externs -Winline +CFLAGS+= -Wmissing-prototypes -Wredundant-decls -Wnested-externs -Winline -Wno-error=shift-count-overflow ## Change if you are using a cross-compiler MAKETOOLS =