libroxml-2.1.2-werror.patch 664 B

12345678910111213141516171819202122
  1. [PATCH] remove -Werror from CFLAGS
  2. -Werror should only be used during development, not in released SW.
  3. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
  4. ---
  5. Makefile | 2 +-
  6. 1 file changed, 1 insertion(+), 1 deletion(-)
  7. Index: libroxml-2.1.0/Makefile
  8. ===================================================================
  9. --- libroxml-2.1.0.orig/Makefile
  10. +++ libroxml-2.1.0/Makefile
  11. @@ -41,7 +41,7 @@
  12. # options
  13. override CPPFLAGS += -Iinc/
  14. -override CFLAGS += $(OPTIM) -fPIC -Wall -Wextra -Wno-unused -Werror -Iinc/ $(DEFINES)
  15. +override CFLAGS += $(OPTIM) -fPIC -Wall -Wextra -Wno-unused -Iinc/ $(DEFINES)
  16. override LDFLAGS +=
  17. ifeq ("$(OS)", "Darwin")