summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-01-06 18:56:46 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-01-06 18:56:46 +0000
commit9ad26099333e95fbd3ebe8963a9980d9f1623ccc (patch)
tree4beb37553056fc3c2e3e5418d03ba14ec5faecb5
parent10f15193a2e09c23ef8fc84d6a88251fe0357ad3 (diff)
downloadmtk-20170518-9ad26099333e95fbd3ebe8963a9980d9f1623ccc.zip
mtk-20170518-9ad26099333e95fbd3ebe8963a9980d9f1623ccc.tar.gz
mtk-20170518-9ad26099333e95fbd3ebe8963a9980d9f1623ccc.tar.bz2
drop -Werror from busybox - prevents compile errors like #1130
SVN-Revision: 6009
-rw-r--r--package/busybox/patches/130-drop_werror.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/busybox/patches/130-drop_werror.patch b/package/busybox/patches/130-drop_werror.patch
new file mode 100644
index 0000000..c8269e1
--- /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