added subtargets to x86
[openwrt-10.03/.git] / package / busybox / patches / 130-drop_werror.patch
1 Index: busybox-1.4.2/Makefile.flags
2 ===================================================================
3 --- busybox-1.4.2.orig/Makefile.flags   2007-06-04 13:21:32.387053088 +0200
4 +++ busybox-1.4.2/Makefile.flags        2007-06-04 13:21:32.871979368 +0200
5 @@ -16,7 +16,7 @@
6         -D"BB_VER=KBUILD_STR($(BB_VER))" -DBB_BT=AUTOCONF_TIMESTAMP
7  
8  CFLAGS += \
9 -       -Wall -Wstrict-prototypes -Wshadow -Werror -Wundef \
10 +       -Wall -Wstrict-prototypes -Wshadow -Wundef \
11         -funsigned-char -fno-builtin-strlen -finline-limit=0 -static-libgcc \
12         -Os -falign-functions=1 -falign-jumps=1 -falign-loops=1 \
13         -fomit-frame-pointer -ffunction-sections -fdata-sections