From 194473b2cf09596344dc9fbe8d479c809494dd15 Mon Sep 17 00:00:00 2001
From: nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Date: Sat, 6 Jan 2007 18:56:46 +0000
Subject: drop -Werror from busybox - prevents compile errors like #1130

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6009 3c298f89-4303-0410-b956-a3cf2f4a3e73
---
 package/busybox/patches/130-drop_werror.patch | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 package/busybox/patches/130-drop_werror.patch

(limited to 'package/busybox/patches')

diff --git a/package/busybox/patches/130-drop_werror.patch b/package/busybox/patches/130-drop_werror.patch
new file mode 100644
index 000000000..c8269e1f2
--- /dev/null
+++ b/package/busybox/patches/130-drop_werror.patch
@@ -0,0 +1,12 @@
+diff -ur busybox.old/Makefile.flags busybox.dev/Makefile.flags
+--- busybox.old/Makefile.flags	2006-12-27 05:57:07.000000000 +0100
++++ busybox.dev/Makefile.flags	2007-01-06 19:53:01.000000000 +0100
+@@ -16,7 +16,7 @@
+ 	-D"BB_VER=KBUILD_STR($(BB_VER))" -DBB_BT=AUTOCONF_TIMESTAMP
+ 
+ CFLAGS += \
+-	-Wall -Wstrict-prototypes -Wshadow -Werror -Wundef \
++	-Wall -Wstrict-prototypes -Wshadow -Wundef \
+ 	-funsigned-char -fno-builtin-strlen -finline-limit=0 -static-libgcc \
+ 	-Os -falign-functions=1 -falign-jumps=1 -falign-loops=1 \
+ 	-fomit-frame-pointer -ffunction-sections -fdata-sections
-- 
cgit v1.2.3