summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2011-07-29 09:52:59 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2011-07-29 09:52:59 +0200
commit8d657be342788bf5dd7d9690061787580b571f6f (patch)
tree5fc4cae178e2e2e58424aa47161a25ef3a50842d /package
parentcef0721c743312c477fb87863939588b553c0a1b (diff)
libroxml: drop -Werror from CFLAGS
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package')
-rw-r--r--package/libroxml/libroxml-2.1.0-werror.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/package/libroxml/libroxml-2.1.0-werror.patch b/package/libroxml/libroxml-2.1.0-werror.patch
new file mode 100644
index 000000000..a72f2a786
--- /dev/null
+++ b/package/libroxml/libroxml-2.1.0-werror.patch
@@ -0,0 +1,22 @@
+[PATCH] remove -Werror from CFLAGS
+
+-Werror should only be used during development, not in released SW.
+
+Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
+---
+ Makefile | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+Index: libroxml-2.1.0/Makefile
+===================================================================
+--- libroxml-2.1.0.orig/Makefile
++++ libroxml-2.1.0/Makefile
+@@ -41,7 +41,7 @@
+
+ # options
+ override CPPFLAGS += -Iinc/
+-override CFLAGS += $(OPTIM) -fPIC -Wall -Wextra -Wno-unused -Werror -Iinc/ $(DEFINES)
++override CFLAGS += $(OPTIM) -fPIC -Wall -Wextra -Wno-unused -Iinc/ $(DEFINES)
+ override LDFLAGS +=
+
+ ifeq ("$(OS)", "Darwin")