drop -Werror from busybox - prevents compile errors like #1130
[openwrt/openwrt.git] / package / busybox / patches / 130-drop_werror.patch
1 diff -ur busybox.old/Makefile.flags busybox.dev/Makefile.flags
2 --- busybox.old/Makefile.flags 2006-12-27 05:57:07.000000000 +0100
3 +++ busybox.dev/Makefile.flags 2007-01-06 19:53:01.000000000 +0100
4 @@ -16,7 +16,7 @@
5 -D"BB_VER=KBUILD_STR($(BB_VER))" -DBB_BT=AUTOCONF_TIMESTAMP
6
7 CFLAGS += \
8 - -Wall -Wstrict-prototypes -Wshadow -Werror -Wundef \
9 + -Wall -Wstrict-prototypes -Wshadow -Wundef \
10 -funsigned-char -fno-builtin-strlen -finline-limit=0 -static-libgcc \
11 -Os -falign-functions=1 -falign-jumps=1 -falign-loops=1 \
12 -fomit-frame-pointer -ffunction-sections -fdata-sections