From: Peter Korsgaard Date: Fri, 29 Jul 2011 07:52:59 +0000 (+0200) Subject: libroxml: drop -Werror from CFLAGS X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8d657be342788bf5dd7d9690061787580b571f6f;p=buildroot.git libroxml: drop -Werror from CFLAGS Signed-off-by: Peter Korsgaard --- 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 0000000000..a72f2a786e --- /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 +--- + 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")